GitBucket
Pull requests
Issues
Snippets
Sign in
mira
/
git-tag-delete-local-and-remote
Fork
0
Created at Tue Jun 19 22:42:38 CEST 2018
Download ZIP
HTTP
Embed
Embed this snippet in your website.
HTTP
Clone with Git using the repository's web address.
Code
Revision
Forks
Mira
revised this
on 19 Jun 2018
aeaa53a
git-tag-delete-local-and-remote
# delete local tag '12345' git tag -d 12345 # delete remote tag '12345' (eg, GitHub version too) git push origin :refs/tags/12345 # alternative approach git push --delete origin tagName git tag -d tagName