Wednesday, January 14, 2015

Git: Pulling in tags from remote

When working with a Git repository, you may find that you don't have the latest set of tags, or that a tag has moved, and your local repository does not reflect the update.   To update the tags in your local repository to reflect the remote, do the following:
git fetch --tags
This will pull down all tags on the current branch.