git push local branch with same name as remote tag

前端 未结 7 1771
星月不相逢
星月不相逢 2020-12-12 13:36

I\'m trying to push a new local branch product-0.2 to remote where there is already a tag with the same name (but the branch itself does not exist)



        
7条回答
  •  余生分开走
    2020-12-12 13:46

    If you are using source tree then follow the following steps.

    1. find the Tag name of branch in tags section
    2. click on Tag name delete tag.
    3. Make sure you check "remove tags from remote" and click ok

    Try again to push your changes. now this will work.

提交回复
热议问题