Skip to content

Instantly share code, notes, and snippets.

@tszming
Created April 27, 2011 09:47
Show Gist options
  • Save tszming/943990 to your computer and use it in GitHub Desktop.
Save tszming/943990 to your computer and use it in GitHub Desktop.
My .gitconfig
[user]
name = Tsz Ming WONG
email = [email protected]
[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