Does the git pull --rebase change the commit order by time?

3 points
Asked by:

I mean when I make rebase the commits will be kept in order by date time or not?
Is it possible to have that last commit will be older than the previous one?

  1. First commit (last commit) - time - 2020-06-18 10:00
  2. Second commit                  - time - 2020-06-18 12:00
  3. Third commit                      - time - 2020-06-18 11:00

I know that rebase is better than merge, because the commit history is clean 
and easy to read by the entire team, but this question it kind of important to me.

0 answers
Hey 👋
Would you like to know what we do?
  • Dirask is a friendly IT community for learners, professionals and hobbyists to share their knowledge and help each other in extraordinary easy way.
  • We welcome everyone,
    no matter what the experience,
    no matter how basic the question is,
    this community will help you.