search

Home  >  Q&A  >  body text

git - Do branch names always point to the tip of branch?

Take the iss53 branch in ProGit as an example.
https://git-scm.com/book/zh/v...

Question:
Does the name of a branch refer to the tip of the branch where it is located?
In other words, does a branch pointer always point to the latest commit of the branch where it is located?

If the branch name really does not need to be at the end of the branch, then how to reference the latest commit of the branch?

女神的闺蜜爱上我女神的闺蜜爱上我2715 days ago733

reply all(1)I'll reply

  • 代言

    代言2017-06-17 09:17:34

    Yes, always point to the latest commit of that branch.

    reply
    0
  • Cancelreply