comparison .gitconfig @ 788:fa3ad63ec3a3

https://github.com/novas0x2a/config-files/blob/master/.gitconfig#L89
author Jeff Hammel <k0scist@gmail.com>
date Wed, 28 Sep 2016 16:42:20 -0700
parents caaba8341045
children 0aa1d72ef538
comparison
equal deleted inserted replaced
787:d265e49b965e 788:fa3ad63ec3a3
9 discard = reset HEAD --hard 9 discard = reset HEAD --hard
10 patch = !git diff > ~/$(git rev-parse --abbrev-ref HEAD).diff 10 patch = !git diff > ~/$(git rev-parse --abbrev-ref HEAD).diff
11 pushbranch = !git push origin $(git rev-parse --abbrev-ref HEAD) 11 pushbranch = !git push origin $(git rev-parse --abbrev-ref HEAD)
12 root = rev-parse --show-toplevel 12 root = rev-parse --show-toplevel
13 st = status 13 st = status
14 subscribe-pulls = !"f() { REMOTE=${1:-origin}; if ! git config --local --get-all remote.${REMOTE}.fetch | grep -q refs/pull; then echo 'subscribing...' 2>&1; git config --local --add remote.${REMOTE}.fetch '+refs/pull/*/head:refs/remotes/pr/*'; fi; }; f"
14 up = !git pull origin master && git push origin master 15 up = !git pull origin master && git push origin master
15 wip = !git commit -a -m 'wip' && git push origin $(git rev-parse --abbrev-ref HEAD) 16 wip = !git commit -a -m 'wip' && git push origin $(git rev-parse --abbrev-ref HEAD)
16 17
17 [credential] 18 [credential]
18 helper = cache --timeout=10000 19 helper = cache --timeout=10000