Explore Courses Blog Tutorials Interview Questions
0 votes
in Azure by (45.3k points)

I have created a new Git repository on Visual Studio online. I have cloned on my computer and I have added it a project. After that, I have created a new branch called develop on Visual Studio online, and I have tried to check it out creating a new local branch but it doesn't appear on Team Explorer.

This is my Visual Studio online: enter image description here

And this is Visual Studio 2015 Team Explorer: enter image description here

Why develop branch doesn't appear on Team Explorer?

1 Answer

0 votes
by (16.8k points)

Try this in Visual Studio, go to the Synchronization tab (Sync in the Team Drop Down Menu) then click on Fetch.

Choose Sync from the menu, hit fetch

Or just use the git command: git-fetch to retrieve a new branch.

Browse Categories