git pager output

This is a wiki page. Be bold and improve it!

If you have any questions about the content on this page, don't hesitate to open a new ticket and we'll do our best to assist you.

check man git > --no-pager global option.

  -p, --paginate
           Pipe all output into less (or if set, $PAGER) if standard output is a terminal. This overrides the pager.<cmd> configuration  options (see the "Configuration      Mechanism" section below).
       --no-pager
           Do not pipe Git output into a pager.

Use the --no-pager option if you wish git to output to the console instead of to the pager.

git --no-pager <subcommand> <options>
git config pager.diff false
git config --global core.pager cat
$ echo $PAGER
/usr/bin/less