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: 

http://stackoverflow.com/questions/454734/how-can-one-change-the-timestamp-of-an-old-commit-in-git

-- 
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 git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to