Better Git Pager
By default git uses less
to show everything, even if it fits on a single page. If you want it to switch to a cat
like output when it will fit within your window, put this in your shell's resource file (*ahem* ~/.zshrc
):
export GIT_PAGER='less -frx'
Written by Sean Todd
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#