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?
- The top voted answer
git commit --date="10 day ago" -m "Your commit message"
in the post How do I make a Git commit in the past? does not work.