0
点赞
收藏
分享

微信扫一扫

git迁移仓库

Mhhao 2023-02-19 阅读 116

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 条评论