What is a “branch tip” in Git?

巧了我就是萌 提交于 2019-12-03 08:27:55

问题


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.


回答1:


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.




回答2:


Using an image from the Pro Git book to illustrate:

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



来源:https://stackoverflow.com/questions/16080342/what-is-a-branch-tip-in-git

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!