gitlab,从A仓库迁移某个工程到B仓库,保留提交记录

  1. 从A仓库,拷贝

    bash 复制代码
    git clone --bare ssh://git@192.168.30.88:22/framework/platform.git
  2. 在B仓库新建工程,注意:一定要去掉默认的生成README文件

  3. 进入platform.git 文件夹下,推送到B仓库

    bash 复制代码
    git push --mirror ssh://git@192.168.30.100:22/framework/platform.git
相关推荐
有同事要进步5 天前
如何在github或者是gitlab上创建空文件
gitlab·github
GoodStudyAndDayDayUp7 天前
gitlab私有化跑CICD
gitlab·gitlab私有化跑cicd
成为你的宁宁7 天前
【Gitlab测试项目】
gitlab·devops
_可乐无糖9 天前
GitLab CI 脚本之 CI_COMMIT_AUTHOR
ci/cd·gitlab
_可乐无糖9 天前
GitLab CI 脚本之 dependencies 和 needs
ci/cd·gitlab
Fan_55811 天前
4核8G云服务器部署GitLab内存耗尽解决方案
gitlab
洋就在江州11 天前
gitlab-cicd 离线集成——springboot-cicd (非docker形式,shell形式)
java·spring boot·后端·ci/cd·gitlab·gitlab-runner
成为你的宁宁12 天前
【Ubuntu 18.04安装Gitlab】
ubuntu·gitlab
长春的KAKA12 天前
GitLab 项目页面报 500 错误的完整修复记录:PostgreSQL 数据库损坏、统计表缺失及数据库迁移
数据库·postgresql·gitlab
蓝胖的四次元口袋12 天前
GitLab知识梳理
gitlab