Created
March 14, 2012 13:21
-
-
Save predominant/2036415 to your computer and use it in GitHub Desktop.
Git Configuration
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
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
[color "diff"] | |
meta = yellow | |
frag = magenta bold | |
old = red bold | |
new = green bold | |
[color "status"] | |
added = yellow | |
changed = green | |
untracked = cyan | |
[status] | |
relativePaths = false | |
[core] | |
excludesfile = </Path/to/home/directory/.gitignore> | |
pager = less -FRSX | |
ignorecase = false | |
[alias] | |
d = diff | |
dc = diff --cached | |
lc = log ORIG_HEAD.. --stat --no-merges | |
gl = log --decorate --stat --graph --pretty=format:'%C(yellow)%h%Creset (%ar - %Cred%an%Creset), %s%n' | |
st = status -sb | |
serve = !git daemon --reuseaddr --verbose --base-path=. --export-all ./.git | |
prune-all = !git remote | xargs -n 1 git remote prune | |
whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short | |
whois = "!sh -c 'git log -i -1 --pretty=\"format:%an <%ae>\n\" --author=\"$1\"' -" | |
[user] | |
name = NAME | |
email = EMAIL | |
[github] | |
user = USERNAME | |
token = TOKEN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment