I have two computers, both have Visual Studio 2015 Community installed. Both Visual Studio has Update 1 installed too...
The moment I update my Visual Studio to Update 1, I notice there is a nice Git branch status indicator at the bottom right of the Visual Studio status bar (shown below):
1st Computer
However, there is no such status on my other computer, both are running the same version of visual studio... I have spent an hour scratching my head trying to get the status to appear..
2nd Computer
How do I get that Git status bar?
We have determined that this issue is not a bug. To see the new created branches in web site, please pull or sync your local repository first. Then you will see the new branch.
To set branches, click on the current branch name in the bottom left corner of Visual Studio Code (the default branch on a newly pulled project is usually the 'master' branch). This will display a list of branches at the top of the VS Code window.
Use Git pull when you know you want to update your current local branch right after a Git fetch. To configure Visual Studio to rebase instead of merge when you Pull: From the Git menu, go to Tools > Options > Source Control > Git Global Settings.
To do the same in Visual Studio, right-click the commit that you want to reset your branch to, and then select Reset > Delete Changes (--hard). To learn more about resetting branches, see the Git webpage for the reset command.
I solved it by "repairing" my Visual Studio installation... I think it re-installs everything..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With