On commit not finding use.name nor user.email
Whenever I try to run the code to do a commit I get the following back from the run_command function:
/usr/bin/git commit -av -m 'sort(page): home by somebody'
*** Please tell me who you are.
Run
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
I checked the path to the repo in $cwd is correct and running " git config --global user.email/user.name" and " git config user.email/user.name" return correct values. Also it's strange that in the commit message says "sort" since I did an update (saved the page).
The environment variables are these:
PATH=/usr/bin:/bin:/usr/sbin:/sbin, XPC_SERVICE_NAME=0, XPC_FLAGS=0x80, XPC_SERVICES_UNAVAILABLE=1
I've run out of ideas but seems like "proc_open" is losing completely the context. Have you experienced something similar? Do you have any debugging hints or an idea how to fix this?
I'm having this same issue... simply no output, no errors thrown... nada.
There is a workaround to get it working: http://stackoverflow.com/questions/22240248/how-to-commit-github-using-php?answertab=oldest#tab-top