1

I suffered a hard drive crash and lost a couple of project folders. These are personal projects and weren't hosted anywhere. I have a dozen compressed zip files of releases, but that's it.

Were I to start with the earliest version, how can I change the date of the commit to match the release date? My thinking is I could do this for each of the versions and have the commit date at least somewhat semblance of the development timeline/history.

Scott
  • 293
  • 5
  • 12
  • 1
    I would generally advise you against muddling around with commit dates. If something happened on a certain date, then let it stand. – Tim Biegeleisen Jun 15 '17 at 05:57

1 Answers1

6

git commit --amend --no-edit --date="Fri Nov 6 20:00:00 2015 -0600"