Answers for "how to edit old commit message in git"

43

change git commit message

git commit --amend -m "New commit message"
Posted by: Guest on March-11-2020
4

change commit message

git commit --amend
// press enter, editor would open
Posted by: Guest on August-23-2020
1

how to edit old commit message in git

# Displays a list of the last 3 commits on the current branch
$ git rebase -i HEAD~3
Posted by: Guest on December-03-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language