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

Re: Idea for git-touch

From
Jan Krüger <jk@jk.gs>
Date
Nov 12, 2009, 17:01 UTC
Message-ID
<20091112180132.5819f963@perceptron>
In-Reply-To
<4AFC348B.4000202@ualg.pt>
Hi Luís,
> [...] Then I do a git-reset HEAD~1, git-add . and git-commit with
> the same message to have the current date.

There is an existing command that does pretty much exactly that: git commit --amend.

Jan
Previous: Luís SousaNext: Luís Sousa
Message 2 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.