Skip to content

Instantly share code, notes, and snippets.

@havenchyk
Last active November 30, 2019 17:08
Show Gist options
  • Save havenchyk/47b63e71cb71c2b528f094d70a7dbaee to your computer and use it in GitHub Desktop.
Save havenchyk/47b63e71cb71c2b528f094d70a7dbaee to your computer and use it in GitHub Desktop.
Update git tags from remote (remove old, fetch from origin)
If you only want those tags which exist on the remote, simply delete all your local tags:
```
git tag -d $(git tag)
```
And then fetch all the remote tags
```
git fetch --tags
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment