view .gitconfig @ 336:b27ea86a9c9e

alias to make patch
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 19 Jun 2013 09:59:02 -0700
parents f8ef5a974df8
children 1b6d7be776ca
line wrap: on
line source

[core]
	excludesfile = /home/jhammel/.gitignore
[user]
	name = Jeff Hammel
	email = jhammel@mozilla.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
        root = rev-parse --show-toplevel
        st = status
        up = !git pull mozilla master && git push origin master