Created
July 13, 2023 08:38
-
-
Save gullinbursti/22e6688c6bbd44663eaa09a81697cecf to your computer and use it in GitHub Desktop.
Set git commit date
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export GIT_{AUTHOR,COMMITTER}_DATE="YYYY-MM-DD HH:MM:SS" | |
git add . | |
git commit -m "" | |
unset GIT_{AUTHOR,COMMITTER}_DATE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment