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

Committing with past date?

From
MHMagnus Hjorth <magnus.hjorth@home.se>
Date
Aug 31, 2008, 10:44 UTC
Message-ID
<1220179469.5518.5.camel@magnus-desktop>
Hi,

Can someone tell me how to make a git commit with a date other than the current. I hope there is some easier way than changing the system clock.. :)

I'm trying to port over old version history that I maintained manually (tarballs and changelogs) into a git repository.

Best regards, Magnus

Next: Jakub Narebski
Message 1 of 7 in “Committing with past date?”
  1. Magnus HjorthAug 31, 2008
  2. Jakub NarebskiAug 31, 2008
  3. Magnus HjorthSep 1, 2008
  4. Russ DillSep 1, 2008
  5. Jakub NarebskiSep 2, 2008
  6. Magnus HjorthSep 2, 2008
  7. Similar threadZabre, Feb 3, 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.