Github Desktop doesn't set up 'git' on cmd [windows]

Viewed 1498

I installed GitHub Desktop, but it doesn't seem to have successfully set up the git command on the command line. When I try to call git, cmd gives me the error,

'git' is not recognized as an internal or external command, operable program or batch file.

The following path was added to my environment variables; is there some way I should edit this to make git work in cmd?

C:\Users\Me\AppData\Local\GitHubDesktop\bin
1 Answers

Find the git.exe file using WHERE git. This is the directory that should be added to your PATH environment variable.

WHERE git

Mine is in C:\Program Files\Git\cmd\git.exe.

I have C:\Program Files\Git\cmd added to the PATH environment variable.

Related