Gitでコミットの日時を変更する
1つ前のコミットのcomitter dateとauthor dateを現在の時刻に変更する
GIT_COMMITTER_DATE=\"$(date)\" git commit --amend --no-edit --date \"$(date)\"
特定のコミットを変更する
git rebase <commit-hash>^ -
pick
をe
に変更して保存amend
で更新
git rebase --continue
でrebase
を完了する
※当然ながらあとから変えない方が良い