Downloaded Visual Studio Code.
I downloaded Git (git-bash appeared on the desktop and there is git-cmd in the folder).
In VSC I try to change the git path (git enabled: true), I enter the path:
"git.path": "I:\\Program Files\\Git\\bin\\git.exe"
Also tried
"git.path": "I:\\Program Files\\Git\\cmd\\git.exe"
and
"git.path": I:\\Program Files\\Git\\mingw64\\libexec\\git-core
It turns out this error: Unable to write into user settings because the file is dirty. Please save the user settings.
At the same time in the console here is such an inscription
Using git 2.18.0.windows.1 from I:\Program Files\Git\cmd\git.exe > git rev-parse --show-toplevel fatal: not a git repository (or any of the parent directories): .git Corrected this error by going to
C:\Users\Ivan\AppData\Roaming\Code\User
and corrected the settings.json there, there was only one setting, that way, only now I don’t understand how to understand if I wrote the right way, mingw64, cmd or bin?
// Path and filename of the git executable, eg 'C:\Program Files\Git\bin\git.exe' (Windows). "git.path": null// Path and filename of the git executable, eg 'C:\Program Files\Git\bin\git.exe' (Windows). "git.path": null- Victor S.// Path and filename of the git executable, eg 'C:\Program Files\Git\bin\git.exe' (Windows). "git.path": null