git - Comment supprimer une balise distante

Mots clés : gitgit-taggit

meilleur 5 Réponses git - Comment supprimer une balise distante

vote vote

91

git push origin :tagname 
git push --delete origin tagname 
git push origin :refs/tags/tagname 
git tag --delete tagname 
git push remote-repo source-ref:destination-ref 
git push origin refs/heads/master:refs/heads/master 
git push origin master:master 
git push origin refs/tags/release-1.0:refs/tags/release-1.0 
git push origin release-1.0:release-1.0 
vote vote

89

git push --delete origin YOUR_TAG_NAME 
vote vote

72

git push origin :refs/tags/v0.1.0 
git tag -d v0.1.0 
vote vote

66

git tag -l | xargs git tag -d git fetch 
git tag -l | xargs -n 1 git push --delete origin 
git tag -l | xargs git tag -d 
vote vote

53

git tag -d your_tag_name git push origin :refs/tags/your_tag_name 

Questions similaires