How can one change the name of a tag?

后端 未结 5 1213
我在风中等你
我在风中等你 2021-02-19 03:59

I have made a tag in mercurial:

hg tag release_123

Later on I found out that the name was wrong, it should be release_124. Is it pos

5条回答
  •  借酒劲吻你
    2021-02-19 04:34

    I've been looking for a solution to same issue: I found this command which creates another tag with copied from the previous one with a new name. But it does not remove the old one. It has to be deleted manually.

    Rename a tag :

    hg tag -f -r

    To delete the old tag:

    hg tag --remove

提交回复
热议问题