git squase to rename author 1

git squase to rename author

git commit --amend --author="Author Name " --no-edit

Here is what the above code is Doing:
1. git commit –amend –author=”Author Name
2. –no-edit

The first line is the command to amend the last commit.
The second line is the command to not edit the commit message.

Similar Posts