Mercurial > hg > config
annotate .gitconfig @ 370:4198a58cc520
adding aliases
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sun, 21 Jul 2013 05:35:28 -0700 |
parents | b27ea86a9c9e |
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 |