How does git keep track of versions in the remote repository?

后端 未结 1 1610
别那么骄傲
别那么骄傲 2021-01-17 06:01

What I understand is that when make a push, my code in the remote repository gets updated. How does git actually keep track of the versions of the release (in context of git

相关标签:
1条回答
  • 2021-01-17 06:47

    It updates remote tracking branches (branches in the remotes namespace).

    Those have the last SHA1 fetched from the remote in them.

    See "Git: What is a tracking branch?"

    http://i.stack.imgur.com/Yrbpy.png

    This isn't limited to "git-flow", it is a basic git mechanism.

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