Skip to content

Instantly share code, notes, and snippets.

@daviferreira
Created December 12, 2011 15:01
Show Gist options
  • Save daviferreira/1467675 to your computer and use it in GitHub Desktop.
Save daviferreira/1467675 to your computer and use it in GitHub Desktop.
Git aliases
[alias]
co = checkout
st = status
cm = commit
hist = log --pretty=format:'%Cred%h%Creset %C(bold blue)<%an>%Creset%C(yellow)%d%Creset %Cgreen(%cr)%Creset%n%w(80,8,8)%s' --graph
histfull = log --pretty=format:'%Cred%h%Creset %C(bold blue)<%an>%Creset%C(yellow)%d%Creset %Cgreen(%cr)%Creset%n%w(80,8,8)%s%n' --graph --name-status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment