Mercurial > hg > config
annotate .gitconfig @ 765:b8ac41eda8ee
what it should be maybe
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Fri, 15 Jan 2016 21:34:50 -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 |