简体   繁体   English

在Azure中创建Git分支,如何在Visual Studio中连接或签出

[英]Creating Git branch in Azure, how to connect or check out in Visual Studio

I created a Git branch in Azure devops, and selected to clone it in VS. 我在Azure devops中创建了一个Git分支,并选择在VS中克隆它。 When it opened VS, it listed a git path and a local path. 当它打开VS时,它列出了一个git路径和一个本地路径。 When it loads, Im not pointed at the feature branch I just created, but master. 当它加载时,我没有指向我刚刚创建的功能分支,但是主人。

In VS Team explorer, in branches, I do not see this new branch listed either locally, or under remotes. 在VS Team explorer中,在分支机构中,我看不到本地或远程列表中列出的这个新分支。 How do I connect to it and why wasnt it brought down when I cloned? 我如何连接到它,为什么克隆时它没有被打倒?

Is the preferred workflow to create a feature branch from VS, then push to the remote? 是从VS创建功能分支的首选工作流程,然后推送到远程?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM