简体   繁体   English

Github Windows:从命令行创建的新分支未显示在 github.com 上

[英]Github Windows: New branch created from command line not showing up on github.com

I created 2 new branches using the command line, and when I use the command 'git branch' I can see all of my branches in the window, but when I used the command 'git push' I get a message that says, "nothing to commit, working directory clean' and so I'm not seeing my new branches on github.com.我使用命令行创建了 2 个新分支,当我使用命令 'git branch' 时,我可以在窗口中看到我所有的分支,但是当我使用命令 'git push' 时,我收到一条消息,说“没有提交,工作目录清理',所以我没有在 github.com 上看到我的新分支。

Can anyone shed some light?任何人都可以透露一些信息吗?

Thanks!谢谢! Robin罗宾

你试过git push origin my_new_branch吗?

The below command will work:以下命令将起作用:

git push origin devbranch git push origin devbranch

运行上述命令 git push origin dev 后,我收到此错误“远程:未找到存储库”。

I had a similar error in which i created and published a branch on one computer.我有一个类似的错误,我在一台计算机上创建并发布了一个分支。 But on another It wouldnt add the branch automatically (even though the git server had the new branch).但在另一个它不会自动添加分支(即使 git 服务器有新分支)。 I simply did a pull from shell rather than using the app's sync function.我只是从 shell 中提取,而不是使用应用程序的同步功能。 once I did the git pull then it added the new branch and was able to be selected from the gui.一旦我做了git pull然后它添加了新的分支并且能够从 gui 中选择。

I assume this is a bug我认为这是一个错误

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 Windows 中使用 github.com/AllenDang/giu 和 github.com/gordonklaus/portaudio 构建 GO 程序 - how to build a GO program using github.com/AllenDang/giu and github.com/gordonklaus/portaudio in Windows 提交通过Github桌面应用程序(Windows)推送到Github没有显示 - Commits pushed to Github through Github Desktop App(Windows) not showing up 如何使用 Windows 命令行在 Web 上打开当前的 GitHub 分支? - How can I open the current GitHub branch on Web using Windows command line? 使用git bash下载lexandera / Aardwolf.git(Windows); 致命错误-无法连接到github.com - downloading lexandera/Aardwolf.git using git bash (Windows); fatal error - unable to connec to github.com 使用ssh在Windows下克隆github.com的repo时,“没有与name关联的地址”错误 - “no address associated with name” error when cloning github.com's repo under Windows using ssh 通过curl命令行发送到github(Windows) - Send to github via curl command line (Windows) Git 在 windows 上克隆:git@github.com 不是 ZBA9F11ECC3497BD6993B933E50Z 命令 - Git clone on windows : git@github.com is not a git command Windows:如何从命令行创建新的以太网 - Windows: How to created a new Ethernet network from command line Windows github工具-使用分支取消发布还是删除? - windows github tool - use branch unpublish or delete? 如何将master合并到github中的Windows分支中? - how to merge master into branch in github for windows?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM