0

I have made commit in the past with the following git command:

git commit --amend --date="$(date -v-60d)"

The timestamp is coming up as expected in the git history. I have pushed my changes to GitHub.

But GitHub UI is not showing the timestamp correctly, and GitHub UI is showing commit is submitted just now.

What needs to be done to show commit change with expected date time in the past with GitHub?

Exploring
  • 2,493
  • 11
  • 56
  • 97
  • 3
    You have to change both dates [GIT_AUTHOR_DATE and GIT_COMMITTER_DATE](https://stackoverflow.com/a/56759237/446792). – mx0 Nov 09 '22 at 20:11

0 Answers0