Modify last commit date in git
Modify last commit date in git
Set the date of the last commit to the current date
git commit --amend --no-edit --date "$(date)"
Set the date of the last commit to an arbitrary date
git commit --amend --no-edit --date "Mon 21 Jul 2021 20:21:00 CET"
This post is licensed under CC BY-ND 4.0 by the author.