You can turn on and off paging of specific commands with the pager.<cmd>
setting, in this case pager.status
:
If the value is boolean, turns on or off pagination of the output of a particular Git subcommand when writing to a tty. Otherwise, turns on pagination for the subcommand using the pager specified by the value of pager.<cmd>.
Run the following to enable paging for status
subcommand:
git config --global pager.status true
or manually add the following to the end of your ~/.gitconfig:
[pager]
status = true
If you just want to turn paging on or off for a specific invocation, you can use option -p
/--paginate
respectively -P
/--no-pager
to the git
command itself as well, e.g.:
git -p status
git status | less
too difficult? You only really need it when you have a lot of modified files. – Eve Freeman Jan 16 '12 at 16:42--color=always
togit status
. If there were such an option, the one would have to typegit status --color=always | less -R
- not so succinct, right? – brandizzi Apr 17 '13 at 18:40git status -vv
, which adds ongit-diff
's output to the end. – Xiong Chiamiov Jul 10 '15 at 19:10