search

Home  >  Q&A  >  body text

gitflow - git flow finish时报 is not a valid tag name

A few days ago, an error suddenly occurred during a git flow hotfix finish 1.16.14

Error message:
fatal: '/1.16.14' is not a valid tag name.
Tagging failed. Please run finish again to retry.

Works under mac osx

After testing, it was found that mainly finish hotfix or release tagged branches will report errors, and the same problem will occur when changing the test library

The first time I had a problem, I thought it was a conflict of tag messages, because there was a tag with 1.16.4, and the message was 1.16.41.16.4..., it kept repeating, my tag was 1.16.41, I thought it was possible For this reason, I searched for the command to modify the message, but it was not changed later. I may have tried a few commands, but there may be something wrong with the git tag. Can anyone help me find out what the problem is

曾经蜡笔没有小新曾经蜡笔没有小新2768 days ago890

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-05-02 09:45:02

    It’s because you need to fill in the tag information when finishing the branch. Just fill it in the space above. Don’t write it in the comment information section below

    reply
    0
  • Cancelreply