Mercurial > hg > config
annotate .gitconfig @ 404:fb304dcd1e64
factor to its own method
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 30 Jul 2013 10:35:47 -0700 |
parents | 1b6d7be776ca |
children | d214e0f38ab1 |
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 |
392 | 11 pushbug = !git push origin $(git rev-parse --abbrev-ref HEAD) |
301 | 12 root = rev-parse --show-toplevel |
288 | 13 st = status |
336 | 14 up = !git pull mozilla master && git push origin master |