美文网首页
如何将项目从码云上面迁移到gitlab

如何将项目从码云上面迁移到gitlab

作者: 含笑州 | 来源:发表于2019-03-06 09:11 被阅读0次

    1.cd 到创建的文件夹下面或者通过mkdir 文件夹名字创建

    2.在该文件夹下面执行git clone --bare 原仓库地址

    git@github.wanda-itg.local: Permission denied (publickey).fatal: Could not read from remote  repository.Please make sure you have the correct access rights and the repository exists.

       要是报上面的错误可以忽略,重新执行命令即可

       3.cd 到.git文件夹下面

       4,去掉分支保护

     5.git push --mirror 新仓库地址(注意新仓库中的分支保护去掉)

    相关文章

      网友评论

          本文标题:如何将项目从码云上面迁移到gitlab

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