Dev Tools · 1h ago
How to Change the Date of an Old Git Commit
This article explains how to modify timestamps on Git commits, covering both the latest commit and older commits via interactive rebase. It details the use of GIT_COMMITTER_DATE and --date flags to update author and commit dates. The process rewrites history, creating new commit hashes.
Meridian48 take
A practical guide for developers, but the technique's history-rewriting nature means it's best reserved for local or personal branches.
gitversion-control