How to delete a tag in Git (local and remote)

Steps:

List all the tags,
>> git tag

v4.4
v4.3
v4.2release

for instance, in order to delete the tag v4.3,

>> git tag -d v4.3 (deletes tag locally)
>> git push origin :refs/tags/v4.3
(remote delete::github.com)

(also see: how to tag old commit )

Advertisements
How to delete a tag in Git (local and remote)

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