git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Idea for git-touch

From
LSLuís Sousa <llsousa@ualg.pt>
Date
Nov 16, 2009, 10:57 UTC
Message-ID
<4B013027.3040508@ualg.pt>
In-Reply-To
<4AFD26ED.4020602@op5.se>
Andreas Ericsson wrote:
Show 15 quoted lines
> 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 <llsousa@ualg.pt> 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.
Show 6 quoted lines
> Make that
>
>    git reset --soft HEAD^ && git commit -C ORIG_HEAD
>
> and you won't have to bother with copy-pasting.
>
Previous: Michele Ballabio
Message 7 of 7 in “Idea for git-touch”
  1. Luís SousaNov 12, 2009
  2. Jan KrügerNov 12, 2009
  3. Luís SousaNov 12, 2009
  4. Jan KrügerNov 12, 2009
  5. Luís SousaNov 12, 2009
  6. Michele BallabioNov 12, 2009
  7. Luís SousaNov 16, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.