Created
September 3, 2019 08:09
-
-
Save ross-humphrey/0202748030c9a9d2ae7efe35a9f90c9f to your computer and use it in GitHub Desktop.
π± Changing historic commit times on GIT
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
git filter-branch --env-filter \ | |
'if [ $GIT_COMMIT = 7e9f69cf5708ae32ac3f8f9211ee63b4efa7802e ] | |
then | |
export GIT_AUTHOR_DATE="Mon Sep 2 16:38:53 2019 -0000" | |
export GIT_COMMITTER_DATE="Mon Sep 2 17:01:01 2019 -0000" | |
fi' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment