很多配置来源于前人,thanks for rex,chris,iceway?
?
[user]
? ? ? ? email = xxx@xxx.com
? ? ? ? name = Lu Chuan
[color]
? ? ui = true
? ? branch = auto
? ? diff = auto
? ? status = 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
[alias]
? ? lg = log --color --graph --pretty=format:‘%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset‘ --abbrev-commit
? ? st = status
? ? co = checkout
[core]
? ? ? ? filemode = false
原文:http://luchuan.iteye.com/blog/2243855