修改.gitconfig
[user]
email = vrix@163.com
name = vrix
[alias]
co = checkout
ci = commit
br = branch
st = status
sbtime = !"for k in `git br |perl -pe s/^..//`;do echo `git show --pretty=format:\"%Cgreen%ci %Cblue%cr%Creset\" $k|head -n 1`\\\t$k;done|sort"
sbrtime = !"for k in `git for-each-ref --sort=-committerdate --format=\"%(refname:short)\" refs/remotes`;do echo `git show --pretty=format:\"%Cgreen%ci %Cblue%cr%Creset\" $k|head -1` $k;done"
[push]
default = simple
[color]
ui = auto
git co 等同于 git checkout
git br 等同于 git branch
git st 等同于 git status
git ci 等同于 git commit
git sbtime 列出本地分支的最后提交时间
git sbrtime 列出所有分支的最后提交时间