What is a “branch tip” in Git?

后端 未结 2 850
名媛妹妹
名媛妹妹 2021-02-03 22:12

I\'m learning Git and reading the Pro Git book. The term \"branch tip\" is used sometimes in the book and also here on Stack Overflow, but I can\'t find the meaning of it.

相关标签:
2条回答
  • 2021-02-03 22:48

    Using an image from the Pro Git book to illustrate:

    Some branches in git

    master, hotfix and iss53 are all "branch tips" here. Kevin's answer is correct, but this might be easier to understand for beginners.

    0 讨论(0)
  • 2021-02-03 22:51

    A branch tip is the last commit or most recent commit on a branch. Basically it points to the most up to date code in the branch.

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