Skip to content

Instantly share code, notes, and snippets.

@gullinbursti
Created July 13, 2023 08:38
Show Gist options
  • Save gullinbursti/22e6688c6bbd44663eaa09a81697cecf to your computer and use it in GitHub Desktop.
Save gullinbursti/22e6688c6bbd44663eaa09a81697cecf to your computer and use it in GitHub Desktop.
Set git commit date
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