git

1、
拉取所有远程分支到本地
git branch -r | grep -v '->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done git fetch --all git pull --all

git统计代码量

删除本地分支
g
it branch -d branch-name

删除远程分支
git branch -r -d origin/branch-name
git push origin :branch-name

拉取本地不存在分支,新建并拉取
           本地名          远程名
git checkout -b branch-name origin/branch-name
开黑吗我亚索贼6
原文地址:https://www.cnblogs.com/insight0912/p/9398574.html