Mercurial > hg > config
annotate .gitconfig @ 787:d265e49b965e
shortcut
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 25 Sep 2016 16:29:22 -0700 |
parents | caaba8341045 |
children | fa3ad63ec3a3 |
rev | line source |
---|---|
223 | 1 [core] |
2 excludesfile = /home/jhammel/.gitignore | |
3 [user] | |
4 name = Jeff Hammel | |
786 | 5 email = jehammel@cisco.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 |