Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 829
JMK Avatar asked Jan 07 '14 19:01

JMK


People also ask

How do I delete a git repository code in Visual Studio?

Right-click the project in the Project Explorer panel and then choose Source Control > Delete Repository from the context menu.

How do I remove a Git project from Visual Studio?

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. Show activity on this post. As @JaredPar mentioned, if you delete the highlighted directories and reload the solution then the solution would no longer be under source control.

Is there a way to disable Git in vs 2013?

Unfortunately disabling Git only to learn it automatically re-enables it. In my case I actually wanted to use Git but not with 50% cpu usage. As NoGit solution is only available for VS2013, you can instead download: Git Source Control Provider even if you don't use Git.

Why does Visual Studio use Git as source control?

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. Thanks for contributing an answer to Stack Overflow!

How to remove Git extension from Visual Studio and SSMS?

download the extension from microsoft and install to remove GIT extension from Visual studio and SSMS. SSMS: Edit the ssms.pkgundef file found at C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio\ssms.pkgundef and remove all git related entries


1 Answers

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.

like image 194
JaredPar Avatar answered Sep 23 '22 06:09

JaredPar