We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 171d069 commit 098099dCopy full SHA for 098099d
bin/git-delete-tag
@@ -3,6 +3,16 @@
3
# Assert there is at least one tag provided
4
test -z $1 && echo "tag required." 1>&2 && exit 1
5
6
+# Set the default origin
7
+origin="origin"
8
+
9
+# Detect the defalt remote exist or not
10
+defualt_remote=$(git config git-extras.default-remote)
11
12
+if [[ ! -z "$defualt_remote" ]]; then
13
+ origin="$defualt_remote"
14
+fi
15
16
# Concatenate all the tag references
17
local_tags=""
18
origin_refs=""
0 commit comments