修改本地提交时间到远程:
echo 123 >> test.sh && git add . && git commit -m "up" && git commit --amend --date="2024-02-21T09:59:30" :wq保存 git push
撤销已提交到远程仓库的修改:
git reset --hard commit_id git push origin -f