I was writing a simple script in the school computer, and committing the changes to Git (in a repo that was in my pendrive, cloned from my computer at home). After several c
It happens when you do not have a $HOME/.gitconfig initialized. You may fix this as:
git config --global user.name "you name" git config --global user.email you@domain.com git commit --amend --reset-author
tested with git version 1.7.5.4