Skip to content

Instantly share code, notes, and snippets.

@coderjoe
Created June 9, 2014 18:29
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coderjoe/86fd288d5e6ce3a8a3c1 to your computer and use it in GitHub Desktop.
Save coderjoe/86fd288d5e6ce3a8a3c1 to your computer and use it in GitHub Desktop.
.gitconfig
[alias]
graph = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset)\t%C(bold green)%d%C(reset) %C(white)%s%C(reset) - %C(bold white)%an%C(reset) %C(bold yellow)(%ar)%C(reset)' --all
hist = log --pretty=format:\"%C(bold blue)%h%C(reset) %C(bold yellow)%ad%C(reset) | %s%C(bold green)%d%C(reset) %C(bold white)[%an]%C(reset)\" --graph --date=short
gr = !git graph
hi = !git hist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment