Skip to content

Instantly share code, notes, and snippets.

@ravenlp
Created July 20, 2015 18:36
Show Gist options
  • Save ravenlp/498d651e18566f548a2d to your computer and use it in GitHub Desktop.
Save ravenlp/498d651e18566f548a2d to your computer and use it in GitHub Desktop.
Git useful alias
[alias]
graph = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
co = checkout
st = status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment