Home  >  Q&A  >  body text

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

前几天在一次git flow hotfix finish 1.16.14 时突然报错

错误信息:
fatal: '/1.16.14' is not a valid tag name.
Tagging failed. Please run finish again to retry.

在mac osx下工作

之后测试发现,主要是finish hotfix或release带tag的分支,就会报错,换个测试库同样出问题

第一次出问题,还以为是tag 的message 冲突,因为有个tag是1.16.4,message是 1.16.41.16.4...,一直重复,我的tag是1.16.41,认为可能是这个原因,搜索了下修改message的命令,后来也没改成,可能试了几个命令,有可能git tag 哪有问题,大神们帮忙看看这什么问题

曾经蜡笔没有小新曾经蜡笔没有小新2697 days ago810

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