github - Git: Change timestamp after pushing -
how edit commit's timestamp after (accidentally) pushing remote repository?
i changed system time clock test behavior in app, , forgot set before
git add -u . , git push. github repo shows multiple files edited "in month".
i have followed advice here – comments op recommend git push --force, unfortunately edit dates stay same.
well, article changing commit message, , force pushing change. here in case, first need fix commit timestamp, before doing git push --force.
read article see how fix timestamp: how can 1 change timestamp of old commit in git?
and force push.
(btw, on github, may take few refreshes before see change. also, assume know breaking history , if else cloned repo, broke them, etc etc, right? good!)
Comments
Post a Comment