Z's space


git amend incorrect commit message

Filed under: Computing — by zhuqy @ 17:22
Tags: ,

Before the commit being push to anywhere, otherwise you may create trouble for others to access:

git commit –amend -m “your new message”

Source from: How do I edit an incorrect commit message in Git?


Blog at WordPress.com.