Felicio Pedro
Felicio Pedro

Reputation: 33

Git is not recognized in Visual Studio Code

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

Answers (1)

MR. WEERASINGHE U.K.
MR. WEERASINGHE U.K.

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

Related Questions