Replace "origin" with $REMOTE_NAME
[git-cheat-sheet.git] / README.md
index 872a0ab..81c0cb1 100644 (file)
--- a/README.md
+++ b/README.md
@@ -60,6 +60,6 @@ Deleting all tags, locally and remotely
 for tag in `git tag`;
 do
     git tag -d $tag
-    git push origin :refs/tags/$tag
+    git push $REMOTE_NAME :refs/tags/$tag
 done
 ```
This page took 0.025759 seconds and 4 git commands to generate.