Skip to content

Commit b3a7964

Browse files
committed
Quote bare variables to prevent globbing/word splitting issues
1 parent 580745f commit b3a7964

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/git-delete-tag

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
#
33
# Delete a tag, both locally and from the origin remote
44

5-
git tag -d $1 && git push origin :refs/tags/$1
5+
git tag -d "$1" && git push origin ":refs/tags/$1"

0 commit comments

Comments
 (0)