by cgs1019 · 11y ago · 0 comments
gr = !git \
--no-pager \
log -n 16 --graph --date-order --date=short --branches \
--pretty=\
'%C(yellow bold)%h%Creset\
%Creset %C(blue bold)%d%Creset\
%C(white bold blink)%s'
The 'gr' is short for 'graph'. You can tweak the -n to show more history. I actually have several of these, 'gr', 'grr', 'grrr', etc. to show more and more history.