diff --git a/README.md b/README.md index 757ef31..1cc1e73 100644 --- a/README.md +++ b/README.md @@ -331,6 +331,12 @@ git tag -d ## Delete remote tag ```sh +git push origin --delete +``` + + +__Alternatives:__ +```sh git push origin :refs/tags/ ``` diff --git a/tips.json b/tips.json index d53d1ae..819138a 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 ", + "alternatives": ["git push origin :refs/tags/"] }, { "title": "Undo local changes with the content in index(staging)", "tip": "git checkout -- "