-
-
Save havenchyk/47b63e71cb71c2b528f094d70a7dbaee to your computer and use it in GitHub Desktop.
Update git tags from remote (remove old, fetch from origin)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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