Skip to content
All gists
Back to GitHub
Sign in
Sign up
Sign in
Sign up
{{ message }}
Instantly share code, notes, and snippets.
Paul Kofmann
crtlib
“The key to immortality is first living a life worth remembering.” – Bruce Lee
22
followers
·
60
following
@evocodes
Germany
https://www.evo.codes
View GitHub Profile
Sort:
Recently created
Sort options
Recently created
Least recently created
Recently updated
Least recently updated
All gists
1
Starred
13
Sort:
Recently created
Sort options
Recently created
Least recently created
Recently updated
Least recently updated
1 file
0 forks
0 comments
0 stars
crtlib
/
delete_tags.sh
Last active
Jun 27, 2018
Delete all remote tags
View
delete_tags.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
#!
/bin/bash
set
-e
if
[
-z
$1
]
;
then
echo
"
The first param should be the remote's name
"
exit
1
fi
git push --delete
$1
$(
git ls-remote --tags
$1
|
awk
'
{print $2}
'
)
You can’t perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.