Created
September 21, 2012 04:03
-
-
Save h0tw1r3/3759665 to your computer and use it in GitHub Desktop.
My git config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[core] | |
excludesfile = ~/.gitexcludes | |
[alias] | |
co = checkout | |
pv = pull -v | |
unstage = reset HEAD -- | |
amend = commit -a --amend | |
last = log -1 HEAD | |
st = status -s | |
dh = diff HEAD | |
dl = diff HEAD^ | |
bl = branch -la | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
lgp = log --graph --format=format:'%h -%d %s (%cr) <%an>' --abbrev-commit --date=relative | |
tree = log --oneline --decorate --graph | |
permission-reset = "!git diff -p . diff -p | grep -E '^(diff|old mode|new mode)' | sed -e 's/^old/NEW/;s/^new/old/;s/^NEW/new/' | git apply" | |
[color] | |
ui = auto | |
diff = auto | |
status = auto | |
branch = auto | |
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
old = red bold | |
new = green bold | |
[color "status"] | |
added = yellow | |
changed = green | |
untracked = cyan | |
[http] | |
postBuffer = 24288000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment