Mercurial > hg > config
annotate .gitconfig @ 336:b27ea86a9c9e
alias to make patch
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Wed, 19 Jun 2013 09:59:02 -0700 |
parents | f8ef5a974df8 |
children | 1b6d7be776ca |
rev | line source |
---|---|
223 | 1 [core] |
2 excludesfile = /home/jhammel/.gitignore | |
3 [user] | |
4 name = Jeff Hammel | |
5 email = jhammel@mozilla.com | |
6 [alias] | |
301 | 7 branches = branch -a |
336 | 8 branchname = git rev-parse --abbrev-ref HEAD |
315 | 9 discard = reset HEAD --hard |
336 | 10 patch = !git diff > ~/$(git rev-parse --abbrev-ref HEAD).diff |
301 | 11 root = rev-parse --show-toplevel |
288 | 12 st = status |
336 | 13 up = !git pull mozilla master && git push origin master |