Speak to a website designer — call Call 01793 239 239 Our team are here 9am to 4.30pm weekdays Client Connect

The Digital Insider Blog

Memo: Removing/adding tags with Git

Memo: Removing/adding tags with Git

More for my own reference than anything but if you ever need to delete a tag from a Git remote repository, this is for you: For a tag called “v1.4” you’d just need to issue the following commands…

More for my own reference than anything but if you ever need to delete a tag from a Git remote repository, this is for you:

For a tag called “v1.4” you’d just need to issue the following commands:

git tag -d v1.4
git push origin :refs/tags/v1.4

That will remove the ‘v1.4’ tag from the repository you’re working on.

To add a tag:

git tag v1.4
git push origin master --tags
Keep reading

Related posts

Need a hand with your website?

Get in touch and we'll be happy to help — no tricks, traps or technobabble.