Created
September 17, 2022 14:04
-
-
Save Eczbek/966468c974904c7560fe103d0118155d to your computer and use it in GitHub Desktop.
git rebase but preserve timestamps
This file contains 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
git -c rebase.instructionFormat='%s%nexec GIT_COMMITTER_DATE="%cD" git commit --amend --no-edit' rebase -i --root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment