美文网首页
gitlab两个服务器之间全量迁移方法

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

作者: thinking2019 | 来源:发表于2022-04-11 14:16 被阅读0次

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

git clone --bare  xxx.git

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

git push --mirror xxx2.git

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

git config --global http.sslVerify "false"

相关文章

网友评论

      本文标题:gitlab两个服务器之间全量迁移方法

      本文链接:https://www.haomeiwen.com/subject/nbbisrtx.html