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
Right-click the project in the Project Explorer panel and then choose Source Control > Delete Repository from the context menu.
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.
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.
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!
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
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With