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
相关推荐
7177775 天前
Git自建用什么工具比较好:Gitea、Forgejo、GitLab CE与Gitee的选型对比
git·gitlab·gitea
colinu7 天前
Create gitlab-runner
gitlab
master3368 天前
GitLab 10.x → 19.5.x 升级路线图
gitlab
长不大的杨瑞杰8 天前
OpenCode v2 GitLab 集成实战:Issue 驱动开发、MR 审查与 CI/CD 最小权限
人工智能·ci/cd·gitlab·ai编程·opencode
极小狐14 天前
极狐GitLab万人并发架构实践,大规模组织的扩容路线图
架构·gitlab·极狐gitlab
Lvan的前端笔记15 天前
GitLab CI 环境变量整理
ci/cd·gitlab
李迟16 天前
CICD实例:解决GitLab Runner无法执行CICD问题
gitlab
hanjq_code18 天前
gitlab本地文件 跨分支 忽略改动 不提交
gitlab
极小狐18 天前
极狐GitLab集群高可用方案,多节点架构与故障自愈实践
架构·gitlab·高可用·极狐gitlab
极小狐19 天前
极狐GitLab主备同步延迟治理,复制滞后监控与优化方法
gitlab·极狐gitlab·geo容灾