view .gitconfig @ 370:4198a58cc520

adding aliases
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 21 Jul 2013 05:35:28 -0700
parents b27ea86a9c9e
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