Skip to content

Instantly share code, notes, and snippets.

@samg
Created February 11, 2010 19:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samg/301841 to your computer and use it in GitHub Desktop.
Save samg/301841 to your computer and use it in GitHub Desktop.
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log -p
l = log --graph --pretty=format:'%Cred%h%Creset - %Cblue%an%Creset - %C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
la = log --graph --pretty=format:'%Cred%h%Creset - %Cblue%an%Creset - %C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative --all
pr = pull --rebase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment