From Visual Studio 16.6, local git tags cannot be pushed to the remote. The issue was reported by: https://developercommunity.visualstudio.com/idea/1043472/new-git-user-experience-cannot-push-tags.html.
This was done by purpose.
Visual Studio team has added tags push features back into Git Changes window in version 16.9 Preview 1 or later preview versions.
For Visual Studio 16.8.4, you still cannot push tags directly like you could do in the past.
To push tags to remote, we can do the following:
- Download Visual Studio 16.9 preview versions.
- Or Open Command Prompt window and submit the changes there directly.
- Tools -> Command Line -> Developer Command Prompt
- Type the following command to push tags to remote (origin):
git push origin --tags