How do I edit an incorrect commit message in git ( that I've pushed )?
问题 I want to modify a commit message deeper in history and I\'ve pushed many new commits. How do I change the commit message? Is it possible? 回答1: The message from Linus Torvalds may answer your question: Modify/edit old commit messages Short answer: you can not (if pushed). extract (Linus refers to BitKeeper as BK): Side note, just out of historical interest: in BK you could. And if you're used to it (like I was) it was really quite practical. I would apply a patch-bomb from Andrew, notice