Reputation: 33
I'm trying to initialize Git in Visual Studio Code, but it is giving me errors. I already have it included in my path.
git : The term 'git' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:1 char:1
+ git init
Upvotes: 2
Views: 10035
Reputation: 131
If you already have Git/cmd PATH included in environment variables, Restart Visual Studio Code
Or...
Append Git/cmd to PATH in environment variables
C:\Program Files\Git\cmd
Upvotes: 5