git 把过老的分支删除
复制一份待会要fetch用的 ``` cp -r test test-2 ``` 进入test路径, 去到要合并的节点, 然后删除 git 库, 新建一个 git 库 ``` cd test git checkout xxx rm -rf .git/ git init git add . git commit -m "first commit" ``` fetch 刚刚复制的库 ``` git remote add ttt ../test-2 git fetch ttt ``` 引入分支 ``` git rebase --onto=master 刚刚合并的节点SHA 结尾的SHA ``` 额外内容: ``` git submodule update --init --recursive ```