I’m trying to push my rails app to the remote depository. Unfortunately
i get this error:
*** Environment problem:
*** Your name cannot be determined from your system services (gecos).
*** You would need to set GIT_AUTHOR_NAME and GIT_COMMITTER_NAME
*** environment variables; otherwise you won’t be able to perform
*** certain operations because of “empty ident” errors.
*** Alternatively, you can use user.name configuration variable.
I found some answers on google, but nothing seems to work. So I tried
all these things:
- change bash_profile (I have however newest version client & remote)
Youâ€™re probably using a slightly older version of git that needs you to
export some variables:
$ export GIT_AUTHOR_NAME=â€whateverâ€
$ export GIT_COMMITER_NAME=â€whateverâ€
- change git config
git config --global user.name Joe Random Hacker
git config --global user.email firstname.lastname@example.org
- cheched user info
Make sure your Full Name is not empty in chsh => seems to be ok
This absolutely makes no sense to me. I’m on osx. Does anyone have a
clue why I keep getting this error?