git 配置别名

vim ./git/config

last = log -l
co = checkout
ci = commit
br = branch
st = status
lg = "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"

posted @ 2018-02-28 14:27  brady-wang  阅读(220)  评论(0编辑  收藏  举报