Skip to content

Instantly share code, notes, and snippets.

@simongregory
Created November 2, 2011 12:40
Show Gist options
  • Save simongregory/1333520 to your computer and use it in GitHub Desktop.
Save simongregory/1333520 to your computer and use it in GitHub Desktop.
Git aliases
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
dt = difftool
pu = pull
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment