export GIT_AUTHOR_DATE="2023-04-01T12:00:00"
export GIT_COMMITTER_DATE="2023-04-01T12:00:00"
git commit -m "Commit with a custom timestamp"git log --format=fuller- GitHub で見る時、この日時順で表示されるので、一番最初のダミーコミットが現在時刻だと、おかしな順で表示されてしまう。最初のコミットは訂正が難しいので、要注意
How to tweak Git commit timestamps (author and committer dates) - Sling Academy