Spotlight
After the Circus

Random Sample
Bronze Troop








contact me
jean at geemoo dot ca
Blog

Dec 15, 2008
I was doing stuff with etckeeper, and got the error fatal: empty ident <> not allowed. Having read many pages on the intermets that say git requires your username and email to be specified. I attempted to remedy this by setting my username and email via git-config.
git config --global user.name "FirstName LastName" 
git config --global user.email "user@example.com"
However, after doing that, I was still getting the error. Turns out my environment had GIT_AUTHOR_EMAIL and GIT_AUTHOR_NAME set to empty strings, and the settings in your environment trump what ever is set in the .git/config and the ~/.gitconfig.
Tags: git, linux