I'm trying to clone a project of GitHub into Visual Studio, so I go to New Terminal and type:
git clone [CLONE WITH SSH LINK]
and it shows:
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.
However, I have already installed Git and Git is set to Enabled at Visual Studio settings.
Why does this error occur, and how can I fix it?
And how can I set/change the path of Git in Visual Studio...
I solved the same problem by reinstalling Git.
And refreshed npm.
Then I closed the editor and reopened it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With