Search code examples
gittfstfs-2015tfvc

How to delete GIT repo in TFS 2015


When we first created some team projects we choose Git for the Source Control. The teams want to switch to TFVC. TFS 2015 update 1 and above support both Git and TFVC in the same project.

My question is, we don't have anything in the Git Repository. I would like to delete it so that the end users don't even see it since we are not using it.

How do I delete the Git Repositories option. I don't want it showing up in the WEB UI or Visual Studio.


Solution

  • If you only have one Git repository, you can't delete it. That may have changed in later versions of TFS, but in TFS 2015, that was how it was.

    You can set the repo's security so that no one can access it, which may hide it.