本文介绍了在VSO或VS2015中创建Git分支标记的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在vso中创建分支标记?

另外,我已经尝试在VS2015中创建一个标记并将更改提交到vso,但我没有在vso中看到标签。想知道这个VS2015 VSO标记功能是否到位?

解决方案

您在VS2015中创建的标记位于本地库。现在,VS2015无法将标签推送到远程存储库。您需要手动按以下命令将代码推送到远程存储库:

  git push --tags 

执行此命令后,您将在VSO中看到标签。


Is there a way to create a branch tag in vso?

Also, I've tried creating a tag in VS2015 and push a change commit to vso, but I'm not seeing the tag in vso. Just wondering if this VS2015 <-> VSO tagging feature is in place?

解决方案

The tag you created in VS2015 is in local repository. VS2015 cannot push the tag to remote repository for now. You need to push the tags to remote repository by following command manually:

git push --tags

After executing this command, you will see the tags in VSO.

这篇关于在VSO或VS2015中创建Git分支标记的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-22 06:37