diff --git a/README.md b/README.md index 757ef31..bb03e4e 100644 --- a/README.md +++ b/README.md @@ -331,9 +331,20 @@ git tag -d ## Delete remote tag ```sh +git push origin --delete refs/tags/ +``` + + +__Alternatives:__ +```sh git push origin :refs/tags/ ``` + +```sh +git push origin --delete +``` + ## Undo local changes with the content in index(staging) ```sh git checkout -- diff --git a/tips.json b/tips.json index d53d1ae..12a53f8 100644 --- a/tips.json +++ b/tips.json @@ -73,7 +73,8 @@ "tip": "git tag -d " }, { "title": "Delete remote tag", - "tip": "git push origin :refs/tags/" + "tip": "git push origin --delete refs/tags/", + "alternatives": ["git push origin :refs/tags/", "git push origin --delete "] }, { "title": "Undo local changes with the content in index(staging)", "tip": "git checkout -- "