Languages

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

3 points
Asked by:
AnnLen
9090

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?
Example:

  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
50 000 ad impressions - 449$
🚀
Get your tech brand or product in front of software developers.
For more information contact us:
Red dot
Dirask - friendly IT community for everyone.

❤️💻 🙂

Join