第346天 如何迁移仓库,同时保留原有的提交记录和分支?
作者:xiangshuo1992
我也要出题
git clone --bare 旧库地址 git push --mirror 新库地址
Fork是不是就可以 0.0
.git/config修改远程地址, git push --mirror
参考楼上的回答 测试一下可以哦 git clone --bare 仓库地址 cd 到克隆下来的仓库 git push --mirror 新建的仓库地址
Most helpful comment