首先在gitlab添加github的仓库地址(注意我这个是codechina.csdn.net的代码托管服务,官方版本gitlab和其他开源版本设置同理。)
gitlab镜像到github使用ssh

点击复制gitlab镜像到github使用ssh
然后打开github仓库设置
gitlab镜像到github使用ssh
点击add deploy key
gitlab镜像到github使用ssh
粘贴并勾选Allow write access允许写
gitlab镜像到github使用ssh
添加完成后,回到gitlab点击更新。
gitlab镜像到github使用ssh
gitlab镜像到github使用ssh
镜像完成。

相关文章:

  • 2021-06-26
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2021-05-22
  • 2021-07-30
  • 2022-12-23
猜你喜欢
  • 2021-04-11
  • 2021-12-24
  • 2022-12-23
  • 2022-12-23
  • 2021-11-08
  • 2021-10-21
  • 2022-12-23
相关资源
相似解决方案