I just ran into a scenario where the
git log was not telling me the correct order of commits. This mis-ordering happened because git only keeps/considers the commit timestamps up to the nearest second. So, if you have a script that is creating a bunch of commits, you could have several that are associated with one second, which will result in the mis-ordering.
To get a more accurate order, use the
--graph option on
I’m actually going to make this my
git l default.