annotate .gitconfig @ 352:eeff298cc922

more crap
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 27 Jun 2013 02:13:40 -0700
parents b27ea86a9c9e
children 1b6d7be776ca
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
223
ce34e4e8f357 add .gitconfig, oh the irony
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
1 [core]
ce34e4e8f357 add .gitconfig, oh the irony
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
2 excludesfile = /home/jhammel/.gitignore
ce34e4e8f357 add .gitconfig, oh the irony
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
3 [user]
ce34e4e8f357 add .gitconfig, oh the irony
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
4 name = Jeff Hammel
ce34e4e8f357 add .gitconfig, oh the irony
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
5 email = jhammel@mozilla.com
ce34e4e8f357 add .gitconfig, oh the irony
Jeff Hammel <jhammel@mozilla.com>
parents:
diff changeset
6 [alias]
301
2a1eeec1b4ea add a git root command
Jeff Hammel <jhammel@mozilla.com>
parents: 288
diff changeset
7 branches = branch -a
336
b27ea86a9c9e alias to make patch
Jeff Hammel <jhammel@mozilla.com>
parents: 315
diff changeset
8 branchname = git rev-parse --abbrev-ref HEAD
315
f8ef5a974df8 add a discard command
Jeff Hammel <jhammel@mozilla.com>
parents: 313
diff changeset
9 discard = reset HEAD --hard
336
b27ea86a9c9e alias to make patch
Jeff Hammel <jhammel@mozilla.com>
parents: 315
diff changeset
10 patch = !git diff > ~/$(git rev-parse --abbrev-ref HEAD).diff
301
2a1eeec1b4ea add a git root command
Jeff Hammel <jhammel@mozilla.com>
parents: 288
diff changeset
11 root = rev-parse --show-toplevel
288
498210b6e1a9 add branches alias
Jeff Hammel <jhammel@mozilla.com>
parents: 223
diff changeset
12 st = status
336
b27ea86a9c9e alias to make patch
Jeff Hammel <jhammel@mozilla.com>
parents: 315
diff changeset
13 up = !git pull mozilla master && git push origin master