views:

145

answers:

1

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 -r :

Well, it didn't work. So what is the command to do the same thing in git?

+4  A: 

Try git log --reverse.

Makis
Hehe, nice. :) I feel stupid.
Erik B
Note that e.g. `git log -10 --reverse` would get 10 **last** commits *then* reverse list.
Jakub Narębski