Skip to content
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

On commit not finding use.name nor user.email #41

Open
vladox opened this issue Jan 26, 2016 · 2 comments
Open

On commit not finding use.name nor user.email #41

vladox opened this issue Jan 26, 2016 · 2 comments

Comments

@vladox
Copy link

vladox commented Jan 26, 2016

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?

@rhawbert
Copy link

rhawbert commented Feb 2, 2016

I'm having this same issue... simply no output, no errors thrown... nada.

@maartenpaauw
Copy link

There is a workaround to get it working: http://stackoverflow.com/questions/22240248/how-to-commit-github-using-php?answertab=oldest#tab-top

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants