Reputation: 945
Platform: Windows 7, Git Shell running ConEmu
When I fired up Git Shell today a window popped offering to install the latest version of Git. In the past this process has worked without incident. Today, following the upgrade, Git shell does not detect git. For example, if I type
git status
I get
'git' is not recognized as an internal or external command,
operable program or batch file.
Consulting the Windows PATH, it looks like several new entries have been tacked onto the front
PATH=C:\Users\Main\AppData\Local\GitHub\PortableGit_f02737a78695063deace08e96d5042710d3e32db\cmd; C:\Users\Main\AppData\Local\GitHub\PortableGit_f02737a78695063deace08e96d5042710d3e32db\usr\bin; C:\Users\Main\AppData\Local\GitHub\PortableGit_f02737a78695063deace08e96d5042710d3e32db\usr\share\git-tfs; C:\Users\Main\AppData\Local\Apps\2.0\XPC72D0A.GQE\ZBYYH2JR.XW2\gith..tion_317444273a93ac29_0003.0003_5794af8169eeff14; C:\Users\Main\AppData\Local\GitHub\lfs-amd64_1.5.5;
Presumably all this new material in the PATH should allow git to be detected; otherwise, what's it doing there? In fact, I would think a single PATH entry should be sufficient to allow git to be found.
So, is there a horrible bug in the installation process of the latest git for Windows? Or is there some tweak I need to perform to make this all right?
Upvotes: 1
Views: 254
Reputation: 1325155
Try uninstalling GitHub Desktop, and re-installing it completely.
Also, as a workaround, don't forget that you can uncompress the self-extracting archive Git for Windows, and add that folder to %PATH%
.
Upvotes: 1