Why do I have to hit 'Q' at the end of 'git log'?

后端 未结 7 719
挽巷
挽巷 2020-12-12 14:00

Consider:

git log -n 20 --pretty=oneline

I am telling Git that I need to see only the last 20 commits. I hate to hit Q to get ri

相关标签:
7条回答
  • 2020-12-12 14:58

    If you want to use --no-pager in an alias, set up your alias this way:

    hist = !git --no-pager log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
    
    0 讨论(0)
提交回复
热议问题