git notes

Change commits author

reference: https://help.github.com/articles/changing-author-info/

Edit a previous commit

reference: https://stackoverflow.com/questions/1186535/how-to-modify-a-specified-commit

1
2
3
4
5
$ git rebase --interactive <hash_before_the_ones_you_would_like_to_edit>
//change `pick` to `edit` for the commit you would like to edit
$ git commit --all --amend --no-edit

$ git rebase --continue