Skip to content

Instantly share code, notes, and snippets.

@asizikov
Forked from hmemcpy/undef.md
Last active August 29, 2015 14:24
Show Gist options
  • Save asizikov/423126238e6f955077ea to your computer and use it in GitHub Desktop.
Save asizikov/423126238e6f955077ea to your computer and use it in GitHub Desktop.

Here's how to disable the package that is responsible for loading the Git source control support in Visual Studio. Use at your own risk: this will probably break CodeLens' git integration. But you're not using that, are you? :)

  • Create a file called devenv.pkgundef and place it next to devenv.exe in you Visual Studio's Common7\IDE (you'll need elevation for this)
  • Add the following entries to the file:
[$RootKey$\Packages\{7fe30a77-37f9-4cf2-83dd-96b207028e1b}]
[$RootKey$\SourceControlProviders\{11b8e6d7-c08b-4385-b321-321078cdd1f8}]
  • Close VS if open, open a Developer command prompt, and type devenv /updateconfiguration
  • Start VS, and voilla - Git support no more!

To undo, delete the devenv.pkgundef file, and run devenv /updateconfiguration again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment