Tuesday, 14 April 2015

Visual Studio 2013 git, only Master branch listed

One of my team member has created new branch, now i want to use that branch.
When i open Visual Studio, i am able to see only master branch.
Solution:
Open Visual Studio
Connect to TFS
Click on Home.
Click on Branches
Click on Actions
Open command prompt
Type this command:
git checkout <Your Branch Name>
Or
Click on the the New Branch dropdown, and you will see all the remote branches.
Enter your Branch Name
Create Branch
Now you will see your branch.