Re: Edit log message after commit
- From
Junio C Hamano <junkio@cox.net>
- Date
- Sep 30, 2005, 08:24 UTC
- Message-ID
- <7vfyrn6k02.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <87br2bq2ot.wl@mail2.atmark-techno.com>
Yasushi SHOJI <yashi@atmark-techno.com> writes:
> first, create new branch at where you wanna change the message > > git checkout -b temp HEAD^^^ # hmm... HEAD^3 doesn't work
Because it should be spelled HEAD~3. HEAD^3 is "the third parent of HEAD" and usually does not exist, unless you are talking about an Octopus merge of three or more branches.