DSC03677

How to delete a remote tag in git

SOURCE: http://nathanhoad.net/how-to-delete-a-remote-git-tag

If you have a tag named ‘12345’ then you would just do this:

git tag -d 12345
git push origin :refs/tags/12345

That will remove ‘12345’ from the remote repository.

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 )

Google+ photo

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

Connecting to %s