Delete a remote git tag

I *always* forget that one so there we are.

If your tag is named ‘tagname’:

# remove the tag locally
git tag -d tagname

# remove the tag on the remote (origin in that case)
git push origin :tagname
# or, more verbosely
git push --delete origin tagname

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s