Can tags be automatically moved after a git filter-branch and rebase?

前端 未结 5 633
别那么骄傲
别那么骄傲 2020-11-30 10:18

edit The question boils down to \"Can git rebase be instructed to rebase tags, too?\" But an answer to the original question would also help.

5条回答
  •  隐瞒了意图╮
    2020-11-30 11:01

    According to Thomas Rast at http://git.661346.n2.nabble.com/Rebase-with-tags-td5582971.html:

    Leonid Podolny wrote:

    Is it possible, at least, to receive a set of (old commit, new commit) pairs, so that I will write a little script that will do that for me?

    The post-rewrite hook gets this list, so you can use that if you want to.

提交回复
热议问题