Reputation: 28059
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
Upvotes: 72
Views: 47945
Reputation: 361
As @JaredPar mentioned, if you delete the highlighted directories and reload the solution then the solution would no longer be under source control.
Upvotes: 18
Reputation: 754883
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.
Upvotes: 143
Reputation: 427
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.
Upvotes: 6