Git “NO-HEAD” statement

前端 未结 1 1619
情深已故
情深已故 2021-02-01 16:20

I am using EGit plugin for Eclipse but whenever I add my project to Git, the plugin puts a \"NO-HEAD\" indication next to my project folder in Eclipse directory view. Am I doing

1条回答
  •  北海茫月
    2021-02-01 16:43

    It can simply mean that, until you make your first add and first commit, you have no branch (not even a master one), hence no HEAD referencing any branch.

    See more in "Why do I need to explicitly push a new branch?".

    0 讨论(0)
提交回复
热议问题