Mercurial > hg > config
view .gitconfig @ 791:46674fb64686
secret k8s decoder ring
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 04 Oct 2016 11:05:20 -0700 |
parents | fa3ad63ec3a3 |
children | 0aa1d72ef538 |
line wrap: on
line source
[core] excludesfile = /home/jhammel/.gitignore [user] name = Jeff Hammel email = jehammel@cisco.com [alias] branches = branch -a branchname = git rev-parse --abbrev-ref HEAD discard = reset HEAD --hard patch = !git diff > ~/$(git rev-parse --abbrev-ref HEAD).diff pushbranch = !git push origin $(git rev-parse --abbrev-ref HEAD) root = rev-parse --show-toplevel st = status 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" up = !git pull origin master && git push origin master wip = !git commit -a -m 'wip' && git push origin $(git rev-parse --abbrev-ref HEAD) [credential] helper = cache --timeout=10000