git配置别名设置,保存一份
若git config --global xxxx 设置,则文件一般在 C:\Users\Administrator\.gitconfig
![](https://i-blog.csdnimg.cn/blog_migrate/a05c80927d833e609f9e47e6ef0bc6bc.png)
[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