Skip to content

Instantly share code, notes, and snippets.

@bmuller
Created June 23, 2011 14:03
Show Gist options
  • Select an option

  • Save bmuller/1042588 to your computer and use it in GitHub Desktop.

Select an option

Save bmuller/1042588 to your computer and use it in GitHub Desktop.
gitconfig
[user]
email = bamuller@gmial.com
name = Brian Muller
[color]
branch = auto
diff = auto
interactive = auto
status = auto
[core]
editor = emacs
[merge]
tool = opendiff
[alias]
cp = cherry-pick
di = diff --word-diff
st = status -sb
rco = !sh -c 'git checkout -t "origin/$0"'
lo = log --graph --pretty=format:'%an: %s - %Cred%h%Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
info = config --list
ci = commit -a
patch = !sh -c 'git diff -p -w --no-color "$0" HEAD'
deploy = !sh -c 'git commit -a -m "$0" && git push && cap deploy'
pu = pull --rebase
squash = rebase -i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment