Skip to content

Instantly share code, notes, and snippets.

@seymores
Last active December 19, 2015 14:49
Show Gist options
  • Save seymores/5972209 to your computer and use it in GitHub Desktop.
Save seymores/5972209 to your computer and use it in GitHub Desktop.
Git config
#http://durdn.com/blog/2012/11/22/must-have-git-aliases-advanced-examples/
[alias]
co = checkout
br = branch
ci = commit
st = status
last = log -1 HEAD
visual = !gitk
l = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat --date=short
ls = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment