From: Luís Sousa Date: Mon, 16 Nov 2009 10:57:43 GMT Subject: Re: Idea for git-touch Message-ID: <4B013027.3040508@ualg.pt> In-Reply-To: <4AFD26ED.4020602@op5.se> Andreas Ericsson wrote: > On 11/12/2009 06:13 PM, Luís Sousa wrote: >> Yeah, but still need some copy&paste of message :) >> >> Jan Krüger wrote: >>> On Thu, 12 Nov 2009 17:05:21 +0000, Luís Sousa wrote: >>>> But still preserves the original date, isn't it? >>> >>> Yes, and I just remembered that, too. Sorry. Today is not my day. >>> >>> Even so, you can still save one command: >>> >>> git reset --soft HEAD^ >>> git commit >>> > Thanks, but still preserves timestamp. > Make that > > git reset --soft HEAD^ && git commit -C ORIG_HEAD > > and you won't have to bother with copy-pasting. >