git push local branch with same name as remote tag

前端 未结 7 1750
星月不相逢
星月不相逢 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 14:10

    The following command should work.

    git push origin refs/heads/product-0.2:refs/heads/product-0.2 
    
    0 讨论(0)
提交回复
热议问题