This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For my git account (for a count of 5 in the previous step, we would use HEAD~4): git rebase -i HEAD~4 -x "git commit --amend --author 'Alejandro de Frutos <adefrutoscasado@gmail.com>' --no-edit"
Count your commits using:
git shortlog -s
For my git account (for a count of 5 in the previous step, we would use
HEAD~4
):git rebase -i HEAD~4 -x "git commit --amend --author 'Alejandro de Frutos <adefrutoscasado@gmail.com>' --no-edit"