Skip to content

Instantly share code, notes, and snippets.

@gwoo
Created July 25, 2013 04:55
Show Gist options
  • Save gwoo/6077001 to your computer and use it in GitHub Desktop.
Save gwoo/6077001 to your computer and use it in GitHub Desktop.
~/.gitconfig
[alias]
co = checkout
st = status
up = pull --rebase
chp = cherry-pick
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
latest = for-each-ref --sort=-committerdate --format='%(committerdate:short) %(refname:short)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment