Re: how to edit commit message in history
- From
- thestar@fussycoder.id.au <thestar@fussycoder.id.au>
- Date
- Jan 16, 2009, 04:31 UTC
- Message-ID
- <20090116153156.tfzar9idq8gwk0wg@webmail.fussycoder.id.au>
- In-Reply-To
- <20090116035714.GA6984@b2j>
You can't, that would default the whole point of git's sha1 hashes!
If you change a commit, you will change the sha1 hash of that commit, and every subsequent commit. There is no way around it.
Quoting bill lam <cbill.lam@gmail.com>:
Show 17 quoted lines
> I made some typos in commit messages, how to edit them without > affecting everything else? > > Thanks in advance. > > -- > regards, > ==================================================== > GPG key 1024D/4434BAB3 2008-08-24 > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > 唐詩311 無名氏 雜詩 > 盡寒食雨草萋萋 著麥苗風柳映堤 等是有家歸未得 杜鵑休向耳邊啼 > -- > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >