Back dating Git commits based on file modification dates

The author delves into the origins of celebrating World Wide Web Day on August 1st by exploring Tim Berner-Lee’s original WorldWideWeb application code for NeXT. The author copies the code to a GitHub repository to browse it more easily using syntax highlighting. They go on to explain how to back-date Git commits by setting environment variables and writing a Python script to organize and commit files by date. The author shares the script’s development journey, including fixing issues and pushing the final result to GitHub. Their meticulous process demonstrates a unique method of recreating historical commits.

https://til.simonwillison.net/git/backdate-git-commits

To top