Mercurial > hg > config
comparison .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 |
comparison
equal
deleted
inserted
replaced
332:d0f91aad5f84 | 336:b27ea86a9c9e |
---|---|
3 [user] | 3 [user] |
4 name = Jeff Hammel | 4 name = Jeff Hammel |
5 email = jhammel@mozilla.com | 5 email = jhammel@mozilla.com |
6 [alias] | 6 [alias] |
7 branches = branch -a | 7 branches = branch -a |
8 branchname = git rev-parse --abbrev-ref HEAD | |
8 discard = reset HEAD --hard | 9 discard = reset HEAD --hard |
10 patch = !git diff > ~/$(git rev-parse --abbrev-ref HEAD).diff | |
9 root = rev-parse --show-toplevel | 11 root = rev-parse --show-toplevel |
10 st = status | 12 st = status |
11 up = !git pull mozilla master && git push origin master | 13 up = !git pull mozilla master && git push origin master |