HEAD is detached in the repository [repo_name] and no branch selected - NetBeans

97 Views Asked by At

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.

0

There are 0 best solutions below