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

How do I change the AuthorDate and CommitDate of all my commits?

From
Ggritzmann <gritzmann@protonmail.com>
Date
Jan 16, 2020, 11:30 UTC
Message-ID
<Ogtz26tj4ZgCMamF3jprc21AvPiEvWlYS9IgAwPDAPOJHd0THDCaNSwNi6qjUxE9ZknGw-87P7wnnQUkH3khrFnEXoAy8VvmEuBpVLpQ3Qw=@protonmail.com>
Hi,
I*m looking to completely anonymize the timestamps of my files and repos For the files themselves I changed their access, modify, change and birth times like this: `touch -acm -d "1980-01-01 00:00:00"`.
But how do I do the same for the AuthorDate and CommitDate of all my commits?
Thanks!
Sent with ProtonMail Secure Email.
Next: Jeff King
Message 1 of 2 in “How do I change the AuthorDate and CommitDate of all my commits?”
  1. gritzmannJan 16, 2020
  2. Jeff KingFeb 14, 2020

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.