bitshift
bitshift

Reputation: 6872

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. When it opened VS, it listed a git path and a local path. 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. 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?

Upvotes: 0

Views: 1357

Answers (1)

bitshift
bitshift

Reputation: 6872

I just needed to do a fetch so I can switch to it. https://learn.microsoft.com/en-us/azure/devops/repos/git/create-branch?view=azure-devops

Upvotes: 1

Related Questions