Skip to content

Instantly share code, notes, and snippets.

@number5
Last active July 9, 2019 21:40
Show Gist options
  • Save number5/1265e144a1cc3b1ae269 to your computer and use it in GitHub Desktop.
Save number5/1265e144a1cc3b1ae269 to your computer and use it in GitHub Desktop.
pretty git log with relative dates and tags

My git log alias

alias gl='git log --graph --pretty=format:'%C(magenta)%h%Creset %w(72,1,2)%Cgreen(%cr) -%C(bold green)%d%Creset %s %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative'

gl screenshot

@ahmedam55
Copy link

Really helpful! Couldn't thank you enough

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment