克隆只包含指定分支的仓库
gitclone --single-branch --branch<branch-name><原仓库URL>如:
gitclone --single-branch --branch develop-重构1128 http://xxxllm_platform/test.gitcd<repo-directory>添加新的远程仓库
gitremoteaddnew-origin<新仓库URL>eg:
gitremoteaddfrom-xxx-to-xxx https://xxx.test.git推送分支到新仓库
git push new-origin <branch-name>