Last active
December 18, 2015 09:49
-
-
Save dominicgs/5763902 to your computer and use it in GitHub Desktop.
My git config file - obviously the original has my name and email address in it.
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
[user] | |
email = email@example.com | |
name = John Doe | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
interactive = auto | |
grep = auto | |
[alias] | |
co = checkout | |
w = whatchanged | |
graph = log --graph --oneline --decorate | |
logl = log --oneline | |
up = pull --rebase | |
# Credit to StackOverflow user 'muhqu' (https://stackoverflow.com/a/4408378) | |
permission-reset = '!git diff -p | grep -E "^(diff|old mode|new mode)" | sed -e "s/^old/NEW/;s/^new/old/;s/^NEW/new/" | git apply' | |
[status] | |
color = auto | |
[color "status"] | |
added = green | |
changed = red | |
untracked = cyan | |
[core] | |
editor = vim | |
[push] | |
default = simple |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment