Change the commit author of all commits while keeping the original commit date git rebase --root --exec 'git commit --amend --no-edit --reset-author --date="$(git log -n 1 --format=%aD)"' Remove the signed-off-by signature git rebase --root --exec 'git commit --amend --no-edit --reset-author --date="$(git log -n 1 --format=%aD)" -m "$(git log --format=%B -n 1 | head -n -3 )"' Sign off the commits again git rebase --root --exec 'git commit --amend --no-edit --reset-author --date="$(git log -n 1 --format=%aD)" -s'