How to git log in reverse order?

前端 未结 5 1375
借酒劲吻你
借酒劲吻你 2021-01-30 05:43

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          


        
5条回答
  •  一向
    一向 (楼主)
    2021-01-30 06:19

    You could create a bashrc function (assuming you are on a unixy os)

    function git_logr {
    
        git log --reverse
    
    }
    

提交回复
热议问题