New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[windows][documentation] Failed to clone http://github.com/foo/bar.git, git was not found, check that it is installed and in your PATH env #958
Comments
I installed msysgit with the option 2 and it works well for me. |
yes the 2nd option works fine, but if you install it first with option 2 and then with option 3 you have both path in your environment and you get this error |
Same problem here - "git was not found .. check .. your PATH env.". Changing the PATH env (mentioned above) did not work for me. The problem seems to be in the GitDownloader.php in line 223 where it checks if git is available on the system. A manual test (mentioned in issue #613 ) with php was successfull. |
@johmue it only throws this exception if the git download failed and |
Still no git found even though it's in the path and can be used within the plain command window but I'm not sure if it's related to composer or if it is a local problem (e.g. spaces in the path). I'll try to track it down to a single line or command in the next days. |
Updating msysgit from Git-1.7.11-preview20120704 to Git-1.7.11-preview20120710 fixed it for me. |
The issue with --enable-sigchild is fixed, hopefully this fixes it for everyone. |
Had the exact same problem. I did the exact same upgrade as bigwhoop on msysgit and it worked. |
this should be documented here somewhere, composer acts the same way:
https://answers.atlassian.com/questions/55689/on-windows-git-version-is-1-7-10-but-stash-says-git-not-found-in-path-please-install-1-7-6-or-higher
The text was updated successfully, but these errors were encountered: