分页打印日志

默认配置命令git log会在新的窗口打印日志内容,需要敲一下键盘q 才能返回当前目录,不方便连续查看: 1 2 3 4 5 6 7 8 9 10 11 12 ➜ lgthw_orign git:(otherbranch) git log --oneline --decorate --all --graph ## NOTE content below will be displayed on new window/buff * 40303b7 (HEAD -> otherbranch) thirdcommit | * 3e6e2f7 (master) secondcommit |/ * f40475e (tag: firstcommittag) firstcommit (END) ## press `q` to exist ➜ lgthw_orign git:(master) git log --no-pager fatal: unrecognized argument: --no-pager 可以把默认的分页改为inline模式,可以更快的查看连续的日志: ...

April 14, 2018 · datewu