view .gitconfig @ 392:1b6d7be776ca

add pushbug command
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 29 Jul 2013 13:44:05 -0700
parents b27ea86a9c9e
children d214e0f38ab1
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
        pushbug = !git push origin $(git rev-parse --abbrev-ref HEAD)
        root = rev-parse --show-toplevel
        st = status
        up = !git pull mozilla master && git push origin master