git alias

$ git config --global alias.br branch
$ git config --global alias.ci commit
$ git config --global alias.st status

$ git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit$ git config --global alias.co checkout
posted @ 2020-03-25 16:28  Cristiano-Duan  阅读(95)  评论(0编辑  收藏  举报