VansFannel VansFannel - 1 month ago 9
Git Question

Remote branch on Visual Studio online doesn't appear on Visual Studio 2015 Team Explorer

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?

Answer

I have solved my problem opening a Git Command Prompt (following this instructions), and doing a git fetch to retrieve the new branch. Unbelievable!!

Comments