Mercurial > hg > config
annotate .gitconfig @ 760:d0b975ffabdf
http://serverfault.com/questions/132055/how-to-check-if-emacs-is-in-gui-mode-and-execute-tool-bar-mode-only-then
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 15 Dec 2015 12:32:34 -0800 |
parents | 6ba565f99696 |
children | caaba8341045 |
rev | line source |
---|---|
223 | 1 [core] |
2 excludesfile = /home/jhammel/.gitignore | |
3 [user] | |
4 name = Jeff Hammel | |
604 | 5 email = k0scist@gmail.com |
223 | 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 |
424 | 11 pushbranch = !git push origin $(git rev-parse --abbrev-ref HEAD) |
301 | 12 root = rev-parse --show-toplevel |
288 | 13 st = status |
604 | 14 up = !git pull origin master && git push origin master |
728
6ba565f99696
cache credentials for a session
Jeff Hammel <k0scist@gmail.com>
parents:
604
diff
changeset
|
15 wip = !git commit -a -m 'wip' && git push origin $(git rev-parse --abbrev-ref HEAD) |
6ba565f99696
cache credentials for a session
Jeff Hammel <k0scist@gmail.com>
parents:
604
diff
changeset
|
16 |
6ba565f99696
cache credentials for a session
Jeff Hammel <k0scist@gmail.com>
parents:
604
diff
changeset
|
17 [credential] |
6ba565f99696
cache credentials for a session
Jeff Hammel <k0scist@gmail.com>
parents:
604
diff
changeset
|
18 helper = cache --timeout=10000 |