How to change the author and committer name and e-mail of multiple commits in Git?
Asked 07 September, 2021
Viewed 1.1K times
  • 59
Votes

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 commits I realized I was committing stuff as the root user.

Is there any way to change the author of these commits to my name?

30 Answer