Mitch
20
Q:

git amend

git commit --amend
4
 git commit --amend -m "an updated commit message" 
1
$ (some_branch) git commit --amend
2
# Displays a list of the last commits
# Just replace a name with another one and save and close the file
git rebase -i HEAD~3
-1

New to Communities?

Join the community