git迁移仓库

Mhhao

关注

阅读 116

2023-02-19

git clone --bare xxx.git

git remote add remote2 xxxx.git

git push --mirror remote2

[参考]
​​​如何迁移一个Git仓库 - 知乎​​​​git push all branches from one remote to another remote​​​​What’s the difference between git clone –mirror and git clone –bare​​

留待后查,同时方便他人
联系我:​​renhanlinbsl@163.com​​



精彩评论(0)

0 0 举报