I'm using less as my Git pager.
If the git diff
output is readable on one page, my Git prints the output to the screen.
Sometimes I'm too fast with typing Ctrl + D (half page down), which kills my terminal. Is there an option to enable the pager for git diff
, even if the output is very small?
This doesn't work:
git -p diff
git --paginate diff
git
settings:pager.diff = true