Change git Commit Messages

This page answers questions like these:


Related Links:
Delete the Previous Commit in Git
Revert Uncommitted Changes in Git



Change The Previous Commit Message:

git commit --amend git push -f origin "COMMENT"

Change Many Previous Commit Messages:

git rebase -i HEAD~N # N = Number of commit messages you want to change.



Related Links:
Delete the Previous Commit in Git
Revert Uncommitted Changes in Git

Home  >  Git  >  Change git Commit Messages


Tags: git change commit messages, git, linux, unix, solaris, bsd, aix

Copyright © HelpDoco.com
git-change-commit-messages.txt
Git/git-change-commit-messages.htm
2