Change the last git commit date
Tip commit has the wrong timestamp? git-edit-date fixes it in three steps —
export the branch to CSV, edit the last row, apply. No git commit --amend.
↓ Download .deb v1.5
Linux amd64 · free
curl -LO https://giteditdate.com/git-edit-date_amd64.deb
sudo dpkg -i git-edit-date_amd64.deb
Change the tip date with CSV
git-edit-date export -o commits.csv- Open the CSV — the last row is
HEAD. Editauthor_dateandcommitter_date(RFC3339 with timezone). git-edit-date apply -file=commits.csv- If already pushed:
git push --force-with-lease
Unchanged rows keep their original metadata. You can also fix
author_name / author_email on the tip in the same pass.
Need more than the tip?
Same tool: edit as many rows as you need. See change dates of multiple commits or the CLI tutorial.
More: all guides · CLI tutorial · change git commit date