On a new branch, I amended an older commit message by using the reword
option in a git rebase
. But, after doing a force push with git push -f
, GitHub shows different commit history dates with all the newer commits, including the amended commit, under the current date. But, doing git log
on the local branch shows the correct commit dates. How can I force push the branch so that GitHub shows the correct commit dates?
Asked
Active
Viewed 47 times
1

Raj Narayanan
- 2,443
- 4
- 24
- 43
-
1Try `git log --format=fuller` – phd Feb 25 '22 at 01:21