This is a related question to How do I edit git’s history to correct an incorrect email address/name. Using git rebase -i <first commit>
, git commit --amend --author "Foo <[email protected]>"
, and git rebase --continue
, I was able to fix the logs for all of the commits but the first one. How do I fix the first commit?
After much trial and error, the following recipe was found to work:
true credit should go to drizzd on #git for this answer.