How can I disable VS Code's builtin Git extension?

655 views Asked by At

I guess visual studio code tried to make pushing and committing easier by adding some of the git features. I really don't know how i enabled it but now every line of my code gets red because it's a change. And i don't know how to remove it. So the question is how can i remove this, i don't want any git things, i handle them using terminal.

screenshot

1

There are 1 answers

1
starball On

As already stated in the comments, you can put the following in your settings.json file:

"git.enabled": false

Or if for some weird reason that doesn't cover everything you want, then you actually disable builtin extensions by using the Developer: Show Running Extensions command in the command palette, and then right-clicking and disabling the builtin git extension from there. But I doubt you'll need to do that given the above setting.

If you just want to disable diff decorations, you can put the following in your settings.json file:

"scm.diffDecorations": "none"