Created
August 13, 2012 18:49
-
-
Save henryalee/3343171 to your computer and use it in GitHub Desktop.
.gitconfig that makes git commands a little nicer
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] | |
name = Henry A. Lee | |
email = [email protected] | |
[github] | |
user = henryalee | |
token = ... | |
[alias] | |
st = status | |
cm = commit | |
br = branch | |
co = checkout | |
d = diff | |
dc = diff --cached | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -- | |
[color] | |
ui = auto | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
old = red bold | |
new = green bold | |
[color "status"] | |
added = yellow | |
changed = green | |
untracked = cyan | |
[color] | |
ui = true | |
[color "diff"] | |
whitespace = red reverse | |
[core] | |
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
autocrlf = input |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment