-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
Add all failed #52
Comments
Hello, works |
I have exactly the same issue. More Info:
so: My particular setup:
I added I am successfully using PHPStorm running tests via CodeCeption Unit by the way |
There is a HACK to get round this: You need to set the user.name and user.email for the newly cloned repo. In my code I do:
This appears to work, however it is a hack in my use case, as I want this process to be running on a production server where the ssh keys and git user to connect to the git repository have been set up for process running the web server to do the work. Developers don't know who that user is (and shouldn't,) so this would mean either exposing the production user account to devs to configure, or doing some chicanery when setting up the DI container for the application, neither of which are ideal. The solution may help others whilst the issue is being sorted. I suspect that I'm going to run into problems issuing a push however, due to lack of ssh key access. (push() uses exec method again.) |
Hey,
i get on $repo->addAllChanges(); "Command 'git add --all ' failed (exit-code 128)"
How i can fix it?
The text was updated successfully, but these errors were encountered: