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

Re: date change of commit?

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Oct 27, 2009, 12:21 UTC
Message-ID
<20091027122156.GD6115@genesis.frugalware.org>
In-Reply-To
<e4a904790910270241g4a165023o30438c5d000b5de4@mail.gmail.com>
On Tue, Oct 27, 2009 at 10:41:47AM +0100, Alex K <spaceoutlet@gmail.com> wrote:
> Thank you. And how would you use git-filter-branch to create another
> branch with a different time stamp? Is it possible to commit under a
> different time stamp than the one provided by your default local time?

You can set GIT_AUTHOR_DATE and GIT_COMMITTER_DATE. Both expect a format like: "1112911993 -0700" (unix timestamp + timezone info).

Previous: Alex KNext: Alex K
Message 4 of 7 in “date change of commit?”
  1. Alex KOct 25, 2009
  2. Matthieu MoyOct 25, 2009
  3. Alex KOct 27, 2009
  4. Miklos VajnaOct 27, 2009
  5. Alex KOct 29, 2009
  6. Rogan DawesOct 29, 2009
  7. Thomas RastOct 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.