A commit has a date.
When you squash one commit into the previous commit, it keeps the date of
the commit you are squashing into. Makes sense.
You could maybe reset a previous commit, and then manually amend/edit the
changes into the existing commit with the date you want to keep.
If you want to change date in old commits, you have to use stronger tricks,
like illustrated here:
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to
For more options, visit this group at