'git' is not recognized as an internal or external command even with the PATH variable set

安稳与你 提交于 2019-12-12 04:08:38

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!