Git/Amend
< Git
Amend
(similar to annotate / amend commit message)
Changing a commit message, and/or files
git commit --amend
Change author:
git commit --amend --author="Author Name <email@address.com>"
Changing an older commit with rebase:
git rebase -i [change_set_prior_to_target] # change "pick" for target changesets git commit --amend --author="Author Name <email@address.com>" git rebase --continue
# or git commit --amend --reset-author --no-edit
Reset Author
git commit --amend --reset-author