git squase to rename author

C++
git commit --amend --author="Author Name <[email protected]>" --no-edit
Source

Also in C++: