Skip to content

Instantly share code, notes, and snippets.

@tszming tszming/.gitconfig
Created Apr 27, 2011

Embed
What would you like to do?
My .gitconfig
[user]
name = Tsz Ming WONG
email = tszming@gmail.com
[receive]
denyCurrentBranch = warn
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
pager = true
[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
[core]
pager = less -FRSX
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
filemode = false
[alias]
co = checkout
st = status
ci = commit
co = checkout
w = whatchanged
pom = push origin master
rollback = reset --hard HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.