gitlab两个服务器之间全量迁移方法

2022-04-11  本文已影响0人  thinking2019

1.先将git项目下载到本地

git clone --bare  xxx.git

2.进入xxx.git文件夹,然后在文件夹中执行

git push --mirror xxx2.git

备注,如果https证书过期,可以执行如下命令

git config --global http.sslVerify "false"
上一篇 下一篇

猜你喜欢

热点阅读