view .gitconfig @ 728:6ba565f99696

cache credentials for a session
author Jeff Hammel <k0scist@gmail.com>
date Fri, 05 Dec 2014 16:50:04 -0800
parents 2786c3293fb5
children caaba8341045
line wrap: on
line source

[core]
	excludesfile = /home/jhammel/.gitignore
[user]
	name = Jeff Hammel
	email = k0scist@gmail.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
        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