Created
January 16, 2011 22:56
-
-
Save jcrobak/782238 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
# great tips from http://cheat.errtheblog.com/s/git and | |
# http://mislav.uniqpath.com/2010/07/git-tips/ | |
[color] | |
ui = auto | |
[color "branch"] | |
current = red bold | |
local = blue | |
remote = green | |
[color "diff"] | |
meta = black | |
frag = magenta | |
old = red | |
new = green | |
whitespace = red reverse | |
[color "status"] | |
added = green bold | |
changed = yellow bold | |
untracked = cyan bold | |
[core] | |
# tabs are an error, as are trailing spaces | |
whitespace=tab-in-indent,trailing-space | |
[alias] | |
st = status | |
ss = status -sb | |
ci = commit | |
br = branch | |
co = checkout | |
df = diff | |
lg = log -p | |
ls = log --oneline --decorate | |
lol = log --graph --decorate --pretty=oneline --abbrev-commit | |
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all | |
ls = ls-files |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment