I recently learned that I can get hg log to print the history in reverse order with:
hg log -r :
So of course I tried:
git log
Jakub Narębski's comment ("Note that e.g. git log -10 --reverse
would get 10 last commits then reverse list") has been clarified in Git 2.11 (Q4 2016):
See commit 04be694 (27 Sep 2016) by Pranit Bauva (pranitbauva1997).
(Merged by Junio C Hamano -- gitster -- in commit 54a9f14, 11 Oct 2016)
rev-list-options
: clarify the usage of--reverse
Users often wonder if the oldest or the newest
n
commits are shown by log -n --reverse.
Clarify that--reverse
kicks in only after deciding which commits are to be shown to unconfuse them.
See Commit Limiting.