Visual Studio 2022 Git Push Tags

Viewed 1947

Does anybody know how to push tags in Visual Studio 2022. Since I switched to multi-repo mode, I can't find it anywhere. Workaround is to push the tags via command line.

2 Answers

The truth is that tags are a bit hidden. You should go to team explorer -> Git Repository -> under your branch -> right click -> New tag.

enter image description here

Then you will have to push these tags under Git changes -> three dots -> push all tags to origin.

enter image description here

Tags pushed

enter image description here

Tag is attached to a particular commit. You can then find your tags on github along with the commit that they are connected.

enter image description here

I raised the issue at Microsoft and this is not yet available when using the multi-repo preview. Will probably be added at a later stage.

Related