microsoft / vscode-anycode

MIT License
334 stars 38 forks source link

Use --follow-tags flag for git push #13

Closed LinusU closed 2 years ago

LinusU commented 2 years ago

docs: https://git-scm.com/docs/git-push#Documentation/git-push.txt---follow-tags

The --follow-tags flags will make this one command instead of two, but it will also prevent pushing all of your local tags, and instead only pushes the ones that are missing from the remote but are pointing at commit-ish that are reachable from the refs being pushed. In practice this means that only the tag just created by npm version will be pushed ☺️

jrieken commented 2 years ago

Thanks!