How to make git-log scroll up instead of down

前端 未结 4 1277
时光取名叫无心
时光取名叫无心 2021-01-13 02:51

Whenever I view a git log --all --graph --oneline --decorate output in my terminal emulator, the first commit is viewed at the top of the terminal screen. When

4条回答
  •  -上瘾入骨i
    2021-01-13 03:02

    First of all you can alway pass -n to the log to print out any number of commits you are interested in.


    How can I make the git log output appear reversed

    Use the --reverse flag:

    --reverse

    Output the commits in reverse order.

    git log --reverse
    

    You can read here for more tips and flags regarding git log:
    http://www.alexkras.com/19-git-tips-for-everyday-use/

提交回复
热议问题