作者在 2014-03-11 09:50:08 发布以下内容
修改用户目录下的.gitconfig
[alias]
st = status
ci = commit
br = branch
ck = checkout
df = diff
logs = log --all --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
co = checkout
today = "! git log --author=\"gs412\" --pretty=tformat: --numstat --since=1am | gawk '{ add += $1 ; subs += $2 ; loc += $1 - $2 } END { printf \"added lines: %s removed lines : %s total lines: %s\\n\",add,subs,loc }'"