首页 > 解决方案 > Gitlab推送到开发分支中的子目录

问题描述

我正在尝试从 github 迁移到 gitlab 并创建了该帐户。我有两个分支 - master 和 development 和另一个文件夹,正在开发中进行测试。现在,我想将所有更改提交到这个测试文件夹。

我该怎么做呢?

我试过git push -u origin development/test但不起作用。有小费吗?谢谢。

使用的命令: 在此处输入图像描述 在此处输入图像描述 推送到 AndroidCoach 目录

标签: gitgithubgitlab

解决方案


git clone --mirror git@firstplace.TLD/account/repo.git
cd repo.git
git push --mirror git@secondplace.TLD/account/repo.git

你想镜像仓库


推荐阅读