Skip to content

Instantly share code, notes, and snippets.

@jmervine
Created July 28, 2011 21:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmervine/1112626 to your computer and use it in GitHub Desktop.
Save jmervine/1112626 to your computer and use it in GitHub Desktop.
gitconfig
[color]
ui = true
[user]
name = <name>
email = <email>
[core]
editor = vim
[push]
default = tracking
[alias]
st = status
cp = cherry-pick
co = checkout
cl = checkout -
ci = commit
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lp = log -p
pa = pull --all
ba = branch -a
br = branch -r
cia = commit -a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment