Yesterday I decided to try out SmartGIT to manage my code when a friend suggested I should use SmartGIT.
After installing it and trying it out (successfully) I thought I was set until today when I tried to commit code and I got the error message "unable to auto-detect email address (got 'User@Computer-name.(none)').
I checked the GIT config and everything is set properly, yet I continue to get this message.
Anyone else experience these kind of problems?
After getting in touch with the makers of SmartGIT, they pointed out that my PC was pointing to a git config file in a old folder I used before. Also, my HOME
variable was set to point to this folder, causing this weird conflict seeing as SmartGIT (apparently) looks for your .gitconfig file in the %USERNAME%
folder. Just moved my .gitconfig to that folder and it worked.