Reset authors for multiple Git commits

If for some reason (like breaking your configuration) you need to reset the author for a number of git commits, rebase with git-rebase --exec and amend each commit1:

git rebase main --exec 'git commit --amend --reset-author --no-edit'

  1. : https://stackoverflow.com/questions/16217801/git-rebase-change-author#comment111719071_16218264

    ↩︎