修改git 参见https://blog.csdn.net/qq_15437667/article/details/51029757
git命令别名,使用别名可以提高git命令效率。
分支文件夹下
sudo vim .git/config
[alias]
co = checkout
br = branch
ci = commit
st = status
pl = pull
ps = push
last = log -1 HEAD
unstage = reset HEAD --
df = diff
dfl = diff HEAD~
dfc = diff --cached
chp = cherry-pick
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
[core]
editor = vim
[color]
ui = auto