how to make a commit for a previous day in guthub code example Example: make a commit with past date git commit --amend --date="YYYY-MM-DD HH:MM:SS"