Comment

Comment by cgs1019

It's not as snazzy as in the article but this alias in my .gitconfig is an integral part of my git workflow:

  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.
parent cgs1019 11 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton