From: Siraaj Khandkar Date: Tue, 7 Oct 2014 14:41:01 +0000 (-0400) Subject: Replace "origin" with $REMOTE_NAME X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=b5a37a6e5a2c2421ece77504c1ce97ddc0fae46a;p=git-cheat-sheet.git Replace "origin" with $REMOTE_NAME --- diff --git a/README.md b/README.md index 872a0ab..81c0cb1 100644 --- 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 ```