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'
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'