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

Re: Force commit date

From
Markus Heidelberg <markus.heidelberg@web.de>
Date
Jan 29, 2009, 18:55 UTC
Message-ID
<200901291955.10769.markus.heidelberg@web.de>
In-Reply-To
<1233254709681-2240602.post@n2.nabble.com>
Zabre, 29.01.2009:
Show 6 quoted lines
> 
> I'm wondering : maybe the trick is outside git? Maybe is it possible to
> specify a "forced date" at which an action (a "git commit" in this case) is
> done.
> Some command that would wrap around the git commit command and tell the
> system "apply this, but do it as if now was 2008-08-23 06:15:34".

man git-commit-tree -> GIT_COMMITTER_DATE

Though only in the git-commit-tree docs, it also works with git-commit. Maybe it should be added there, too.

Markus
Previous: ZabreNext: Zabre
Message 5 of 9 in “Force commit date”
  1. ZabreJan 29, 2009
  2. Sverre RabbelierJan 29, 2009
  3. ZabreJan 29, 2009
  4. ZabreJan 29, 2009
  5. Markus HeidelbergJan 29, 2009
  6. ZabreJan 29, 2009
  7. Daniel BarkalowJan 29, 2009
  8. ZabreJan 29, 2009
  9. ZabreJan 29, 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.