Mercurial > hg > config
comparison .gitconfig @ 818:352530cbf195
[gitconfig] rename this + make it work
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Thu, 08 Dec 2016 10:00:51 -0800 |
parents | 446107608d89 |
children | 737b9eda7f77 |
comparison
equal
deleted
inserted
replaced
817:9f42400dcd83 | 818:352530cbf195 |
---|---|
3 [user] | 3 [user] |
4 name = Jeff Hammel | 4 name = Jeff Hammel |
5 email = jehammel@cisco.com | 5 email = jehammel@cisco.com |
6 [alias] | 6 [alias] |
7 branches = branch -a | 7 branches = branch -a |
8 branchname = git rev-parse --abbrev-ref HEAD | 8 current-branch = rev-parse --abbrev-ref HEAD |
9 discard = reset HEAD --hard | 9 discard = reset HEAD --hard |
10 graph = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cd)%Creset' --abbrev-commit --date=relative | 10 graph = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cd)%Creset' --abbrev-commit --date=relative |
11 patch = !git diff > ~/$(git rev-parse --abbrev-ref HEAD).diff | 11 patch = !git diff > ~/$(git rev-parse --abbrev-ref HEAD).diff |
12 pushbranch = !git push origin $(git rev-parse --abbrev-ref HEAD) | 12 pushbranch = !git push origin $(git rev-parse --abbrev-ref HEAD) |
13 root = rev-parse --show-toplevel | 13 root = rev-parse --show-toplevel |