git常用别名设置,保存一份

git配置别名设置,保存一份

若git  config  --global  xxxx 设置,则文件一般在 C:UsersAdministrator.gitconfig

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

原文地址:https://www.cnblogs.com/hero123/p/9105381.html