Created
July 31, 2010 18:03
-
-
Save jperras/502434 to your computer and use it in GitHub Desktop.
.gitconfig
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 | |
[user] | |
name = <Your Name Here> | |
email = <Your Email Address Here> | |
[status] | |
relativePaths = false | |
[core] | |
excludesfile = </Path/to/home/directory/.gitignore> | |
pager = less -FRSX | |
[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\"' -" | |
[github] | |
user = <Your User Name Here> | |
token = <Your token Here> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
very cool. I also use
co = checkout
ci = commit
because I am used to those svn aliases