D:\git\ci_backend_service>git push origin xueantai error: src refspec xueantai does not match any error: failed to push some refs to 'http://192.168.114.145:8090/automation/ci_backend_service.git' D:\git\ci_backend_service>git push origin xueantai error: src refspec xueantai does not match any error: failed to push some refs to 'http://192.168.114.145:8090/automation/ci_backend_service.git' D:\git\ci_backend_service>git push xueantai fatal: 'xueantai' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. D:\git\ci_backend_service>git branch -r origin/master
时间: 2024-03-28 16:37:09 浏览: 129
error: failed to push some refs to 'https://gitee.com/xiao-long
根据你提供的信息,看起来你想将本地分支 `xueantai` 推送到远程 `origin` 仓库上,但是提示找不到该分支。这可能是因为本地分支尚未创建或者已经被删除了。你可以使用以下命令创建一个名为 `xueantai` 的本地分支并切换到该分支:
```
git checkout -b xueantai
```
然后进行一些代码修改后,使用以下命令将本地分支推送到远程仓库:
```
git push origin xueantai
```
其中 `origin` 是远程仓库的名称,`xueantai` 是要推送的本地分支的名称。如果远程仓库中不存在该分支,Git会自动创建一个新分支。如果仍然遇到问题,请检查你的权限和远程仓库的存在性。
阅读全文