Remove Git binding from Visual Studio 2013?

I added a new solution for TFS in Visual Studio 2013, and I chose Git as opposed to TFS.

I want to remove the Git binding and add TFS.

I know that you can remove the TFS binding from File -> Source Control , but this is not like here.

How to remove Git binding from Visual Studio solution and add TFS?

thank

+69
version-control visual-studio-2013
Jan 07 '14 at 19:45
source share
4 answers

I don't think Visual Studio adds anything special to git integration. It just looks for the .git directory in the solution folder. Delete this folder, possibly hidden, and Visual Studio will no longer treat it as a git project.

+137
Jan 07 '14 at 19:51
source share

snippet for git dir

As @JaredPar mentioned, if you delete the selected directories and reload the solution, then the solution will no longer be under source control.

+14
Aug 02 '16 at 21:54
source share
  • Go to Quick Launch (Ctrl + Q)
  • Search "Source"
  • Choose next option Select an option from the list.

  • Select a dropdown enter image description here

  • Select the source control from the list and click ok. enter image description here

+7
Jul 08 '16 at 8:04 on
source share

As a note. If you accidentally created a Git repository in the parent folder of a project under TFS, Visual Studio will use Git as the source for this project.

+5
Jun 23 '15 at 10:54
source share



All Articles