This is an old revision of the document!


git

git is full of win.

Get hash tag of last commit
git log -1 --format=oneline | cut -d " " -f 1
Configure pager

This will cause less to exit as soon as it reaches end-of-file. This is helpful for git output where it is less than one page.

Edit your .gitconfig file:

[core]
pager = less -E