Answers for "how to update previous commit message in git"

76

git change commit message of old commit

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

Update previous git commit

$ (some_branch) git commit --amend --no-edit
Posted by: Guest on September-17-2021

Code answers related to "how to update previous commit message in git"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language