git配置别名设置,保存一份
若git config --global xxxx 设置,则文件一般在 C:\Users\Administrator\.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
时间: 2024-10-08 21:55:20