I made a git branch inadvertently named "0.2", which is also a tag.
So I tried to remove it from the source:
$ git branch -rD origin/0.2 Deleted remote branch origin/0.2
But then:
$ git fetch origin * [new branch] 0.2 -> origin/0.2
Here is the error I received by clicking:
$ git push
So, I deleted the remote tag:
$ git tag -d 0.2 $ git push origin :refs/tags/0.2
Still no:
$ git branch -rD origin/0.2 * [new branch] 0.2 -> origin/0.2
- Is this a git bug?
- Did I do something wrong, except that the tag and branch name are equal?
- How to delete a remote branch?
shkschneider
source share