Skip to content

Instantly share code, notes, and snippets.

@rabellamy
Created December 11, 2013 15:31
Show Gist options
  • Save rabellamy/7912438 to your computer and use it in GitHub Desktop.
Save rabellamy/7912438 to your computer and use it in GitHub Desktop.
git log is now cool.....
[alias]
l = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --date=relative --all
h = log --pretty=format:\"%C(cyan)%h %C(green)%ad%Creset | %s %C(yellow)%d %C(magenta)[%an]\" --graph --date=short
latest = for-each-ref --sort=-committerdate --format='%(committerdate:short) %(refname:short) [%(committername)]'
g = log --graph --pretty=format':%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment