Skip to content

Instantly share code, notes, and snippets.

@jreinke
Created April 30, 2015 09:13
Show Gist options
  • Save jreinke/de986efc7e9710d6c6fd to your computer and use it in GitHub Desktop.
Save jreinke/de986efc7e9710d6c6fd to your computer and use it in GitHub Desktop.
Git aliases
[alias]
ci = commit
co = checkout
st = status
br = branch
lg = log -10 --graph --pretty=tformat:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%an %cr)%Creset' --abbrev-commit --date=relative
files = diff-tree --no-commit-id --name-only -r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment