某些标签在 git 日志中不可见但在 git 标签中可见

some tags are not visible in git log but visible in git tag

我们从上次冲刺的 develop 分支新创建了一个长期支持分支,假设它叫做 v2021.1.LTS,在我签出 v2021.1.LTS 分支后,我做了一个 git log 从结果中,我注意到缺少 6 个最新版本标签(缺少 v2.114.2-rc.3~v2.114.2-rc.8,我能看到的最新标签是 v2.114.2-rc.2),但我可以通过 git tag 看到所有这些;在我将其展示给其他高级开发人员后,他们告诉我:

We created this v2021.1.LTS branch last sprint and it was the same as develop. The current sprint is going to be the first sprint when v2021.1.LTS and develop diverge so that the 6 latest version tags are tracking the develop branch instead of this v2021.1.LTS branch.

我对这个解释很困惑。谁能详细说一下?

git log --no-walk --tags --pretty="%H %d" --decorate=full