JMK
JMK

Reputation: 28059

Remove Git binding from Visual Studio 2013 solution?

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

Answers (4)

Sivanantham Padikkasu
Sivanantham Padikkasu

Reputation: 411

  1. Go to Quick Launch(Ctrl+Q)
  2. Search for "Source"
  3. Select the following option Select the option from List

  4. Select the Dropdown list enter image description here

  5. Choose your source control from list and click "ok" enter image description here

Upvotes: 7

themasterchief
themasterchief

Reputation: 361

snippet for git dir

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

JaredPar
JaredPar

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

Mikael Gyth
Mikael Gyth

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

Related Questions