Changing the date on a Git commitEdit
Fixing the date on an existing commit
Let's look at the case where we only want to change the HEAD commit; changing previous commits is harder (using either git rebase -i or git filter-branch) and may be limited by your ability and/or willingness to rewrite published history.
$ D=$(ts -6d) # Move the date back six days.
$ GIT_COMMITTER_DATE="$D" git amend --date="$D" --no-edit
Notes
amendhere is just an alias forgit commit --amend.tsis a script from my dot-files repo.