头部在存储库中分离[repo_name],没有选定的分支-Netbeans
我正在使用Netbeans在Java开发一个项目。每当我的伴侣试图推动他所做的事情时,都会显示出错误:
头部在存储库中分离[repo_name]
当我转到repository浏览器
时, ,包括使用Git的CMD,但我们无法将其与Netbeans项目同步。
I'm using NetBeans to develop a project in Java. Whenever my mate tries to push what he has done, it shows the error:
HEAD is detached in the repository [repo_name]
When I go to the Repository Browser
in his program it shows that no branch is selected, but I can't solve that problem, we've already tried many ways, including using the cmd from git, but we can't sync it with the NetBeans project.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
存储库很可能包含比您的上一次拉动更新版本。拉,更新文件,提交和推动,它将起作用。
It is very likely that the repository contains a more up-to-date version than your last pull. Pull, update the files, commit and push and it will work.