1

I am using Visual Studio online as my source repository and have chosen git for source control. I have created a new branch named as "Branch1" and published it in the server.

I want the fellow developer to get this branch in his visual studio and work with this. But the other developer is not getting this "Branch1" listed in his visual studio. How can the other developer refresh the list of branches available in the server.

Thanks

Satyajit
  • 1,971
  • 5
  • 28
  • 51

2 Answers2

2

Make sure your fellow developer fetches commits from the team first.

https://i-msdn.sec.s-msft.com/dynimg/IC698190.png

Then he/she can create a local branch tracking that new remote branch.
See "Visual Studio 2013 git, only Master branch listed"

https://i.stack.imgur.com/Dhz4k.png

SteveC
  • 15,808
  • 23
  • 102
  • 173
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
1

Migrating from master branch to Branch1 would need at least 1 commit over it to be accessible in the team explorer menu of the visual studio.

Sajal
  • 4,359
  • 1
  • 19
  • 39