I have app servers that I bootstrap together using Chef + some ad-hoc bash scripts. The problem is, when I want to run an update on one of these app servers, I get:
I had this as a faulty error message:
git pull
worked fine on the cmd line
git pull
failed in a Perl CGI process (a webhook to auto-deploy from github) with the above error.
Doing a git status
identified a clashing file. Sorting it fixed the problem.
Problem reoccurred later when I changed some config settings.
This time, setting $HOME and $USER env vars fixed it (are unset by default in a CGI process)
That’s a typo. You’ve accidently set "user.mail" with no "e". Fix it by setting "user.email" in the global configuration with
git config --global user.email "you@example.com"
Found solution here
https://stackoverflow.com/a/14662703
it works for me, try This.. you need to configure your terminal with remote access.
git config --global user.name "abc"
git config --global user.email "abc@example.com"