When I connect to a local Git repository in Visual Studio (2015), Team Explorer shows a Git-specific interface (Changes, Branches, Sync, etc.). When I then connect to a non-Git TFS project, it refuses to acknowledge this switch and continues to show this Git interface (as opposed to the desired TFS interface with My Work, Pending Changes, Source Control Explorer, etc). Whenever I click one of the Git menu options, I get a message saying
The current page is inactive because you are not connected to a Git team project
which is information of which I am fully aware, but rather than allowing to switch to "TFS mode", it suggests I connect to a Git project.
The only remedy I have found is to close and reopen VS, quite annoying. Is there a way to force this switch?
I was having the same issues. It appears as though you have to switch back to the Microsoft Git Plugin and then switch back though Tools -> Options -> Source Control. I think while you can double click on a TFS project, the Team Explorer window doesn't reset unless its done from the options menu.
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