What is HEAD in Git?

后端 未结 22 2242
野的像风
野的像风 2020-11-22 10:02

You see the Git documentation saying things like

The branch must be fully merged in HEAD.

But what is Git HEAD exac

22条回答
  •  孤独总比滥情好
    2020-11-22 10:45

    It feels like that HEAD is just a tag for the last commit that you checked out.

    This can be the tip of a specific branch (such as "master") or some in-between commit of a branch ("detached head")

提交回复
热议问题