In furtherance to Eugen Konkov answer, to start from the root commit, use --root flag. The --no-edit flag is helpful too, because with it you are not prompted into an editor for each commit.
git rebase --root --exec "git commit --amend --author='name ' --no-edit"