My colleague pushed his commit to our github repository. Unfortunatlley he has system date set to some 20 days ahead of the real time. So all (4) his commits have wrong date. I would like to change the dates in these commits, but some additional work is already done based on these wrong-dated commits.
I found this SO question: How can one change the timestamp of an old commit in Git? , which answers show how I can do it, but I dont think it is safe as the commit SHAs will be changed beacuse of teh date change and I am not sure what will happen to the changes which were based on the original (wrong-dated) commits.
So, is it safe to change the dates and push the changed commits? What will exactly happen in the github repository? I presume completely new commtis will be created and the old ones will still be there anyway ...
On other hand if I leave the wrong-dated commits as tehy are now, what is the danger? So far I just noticed that the network graph on github does not work ...