Created
June 21, 2013 17:21
-
-
Save henryalee/5832789 to your computer and use it in GitHub Desktop.
My .gitconfig with colors and shortcuts and stuff.
This file contains hidden or 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] | |
[alias] | |
st = status | |
cm = commit | |
br = branch | |
co = checkout | |
d = diff | |
dc = diff --cached | |
ds = diff --staged | |
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 | |
editor = vim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment