我有一个项目,其中我的开发分支在我的稳定分支之前有 2 个标记的版本,但我想删除第一组标记的更改(这是我不再需要的一系列功能)但应用最新的标记更改(第二个标记) 到稳定的标签上。
例如:
提交:
[tag] 3.0 -
sdaf213 Some Commit of the tag 3
sdaas34 Some other commit in this tag
[tag] 2.0 -
wert78 Some commit of tag 2
werg99 Another commit of tag 2
werh55 And another of tag 2
[tag] 1.0 (Stable) -
pry77 Commits of tag 1
...older commits
有没有办法对标签进行 git rebase 而不是提交,这样我就可以在 [tag] 1.0 之上 rebase [tag] 3.0 的所有提交,但从 [tag] 2.0 中排除所有内容?