Create a Git Commit with a Specific Date
You want an existing commit to carry an exact timestamp — not “whatever the clock says now”.
git-edit-date lets you set that date (and many others) in a spreadsheet —
no git commit --amend.
What is git-edit-date?
A free Linux CLI for when you already have history and need exact dates applied in bulk. Export the branch to CSV, type the timestamps you want, apply once.
↓ Download git-edit-date v1.5
Linux amd64 · free
curl -LO https://giteditdate.com/git-edit-date_amd64.deb
sudo dpkg -i git-edit-date_amd64.deb
How to set a specific date
git-edit-date export -o commits.csv
# set author_date and committer_date to the exact timestamps you want
git-edit-date apply -file=commits.csv
git push --force-with-lease
When you need this
- One or many commits need an exact RFC3339 timestamp
- You want author and committer dates to match (cleaner
git log --format=fuller) - Fixing a whole branch of wrong dates — review in CSV first
Full walkthrough: tutorial · Also: change git commit date · backdate a commit