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
Native Advertising
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂