git 之奇技淫巧

1,git remote prune origin 

   本地有很多其实早就被删除的远程分支,可以用 git remote prune origin 全部清除掉,这样再 checkout 别的分支时就清晰多了

2,git 缩写

st = status
ci = commit
br = branch
co = checkout
df = diff
po = push origin
pl = pull origin
pu = pull upstream
原文地址:https://www.cnblogs.com/gangerdai/p/7341983.html