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
For a single commit:
git commit --amend --author="Author Name "
(extracted from asmeurer's answer)