Remove git integrations from VSCode
Add this to settings.json
:
// Whether git is enabled.
"git.enabled": false,
Some other commands related to Git execution:
// Path and filename of the git executable, e.g. `C:\Program Files\Git\bin\git.exe` (Windows).
"git.path": null,
// When enabled, commits will automatically be fetched from the default remote of the current Git repository.
"git.autofetch": false,
It's very simple to do, requiring no code. Follow these steps:
1) Navigate to VSCode's settings:
2) Next, navigate to User Settings
, then go to Extensions -> Git -> Enabled (property)
as shown:
Make sure this checkbox is disabled.
Windows:
Go to File -> Preferences Settings (Or press Ctrl + ,)
Go to Extensions -> Git -> Uncheck "Enabled" (Or search "git.enabled" in the search box above)
In Visual Studio Code you can change your settings quite easily.
Once opened you have a 2 column window to choose from a set of standard options. The more extensions you install the longer this list of standard options becomes. There you can also choose from a set of GIT options.
Here is preview image of some of the preferences: