问题
I have been trying to use the Github commands on the cmd, but it keeps outputting
'git' is not recognized as an internal or external command
My PATH is already set and looks like
C:\Users\user\AppData\Local\GitHubDesktop\bin
I don't really know what to do; I already tried restarting and reinstalling. I saw one other question with a similar problem, but the response didn't quite make sense to me. Side note: I'm using a Windows 10 system
回答1:
You will need to download and install the Git Bash app, located here. This program will allow you to run all of the 'git' commands via its command line.
This link will provide more information, as it appears you have installed the GitHubDesktop program, not Git.
Hope this helps!
来源:https://stackoverflow.com/questions/46250015/git-is-not-recognized-as-an-internal-or-external-command-even-with-the-path-va