Add remote option to git-retag
This commit is contained in:
parent
3d61bf4bdf
commit
9663ea8845
1 changed files with 3 additions and 1 deletions
|
|
@ -1,7 +1,9 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
remote=${2:-origin}
|
||||||
|
|
||||||
echo "Deleting tag from origin"
|
echo "Deleting tag from origin"
|
||||||
git push --delete origin "v$1"
|
git push --delete "$remote" "v$1"
|
||||||
|
|
||||||
echo "Deleting tag locally"
|
echo "Deleting tag locally"
|
||||||
git tag -d "v$1"
|
git tag -d "v$1"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue