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

Re: date change of commit?

From
AKAlex K <spaceoutlet@gmail.com>
Date
Oct 27, 2009, 09:41 UTC
Message-ID
<e4a904790910270241g4a165023o30438c5d000b5de4@mail.gmail.com>
In-Reply-To
<vpq1vkrqttt.fsf@bauges.imag.fr>

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?

2009/10/25 Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>:
Show 18 quoted lines
> Alex K <spaceoutlet@gmail.com> writes:
>
>> Hello,
>>
>> Is it possible to change the date of a commit?
>
> See git-filter-branch. This won't change the date of the existing
> commit (which is impossible in Git), but will create another commit
> where only the date has been changed.
>
> --
> Matthieu Moy
> http://www-verimag.imag.fr/~moy/
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
Previous: Matthieu MoyNext: Miklos Vajna
Message 3 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.