Remove Git binding from Visual Studio 2013 solution?
Version ControlVisual Studio-2013Version Control Problem Overview
I was adding a new Solution to TFS in Visual Studio 2013, and I selected Git as opposed to TFS.
I want to remove the Git binding, and add TFS.
I know you can remove TFS binding from File -> Source Control, but this doesn't seem to be an option here.
How can I remove Git binding from a Visual Studio solution, and add TFS?
Thanks
Version Control Solutions
Solution 1 - Version Control
I don't believe Visual Studio adds anything special for git integration. It just looks for the presence of the .git directory in the solution folder. Delete that folder, possibly hidden, and Visual Studio will no longer consider it a git project.
Solution 2 - Version Control
As @JaredPar mentioned, if you delete the highlighted directories and reload the solution then the solution would no longer be under source control.
Solution 3 - Version Control
Solution 4 - Version Control
Just as a side note. If you by accident create a Git repository in a parent folder of a project under TFS, Visual Studio will use Git as source control for that project too.