Created
February 26, 2018 12:36
-
-
Save larsxschneider/f845b833a780bfaef2b4e41c9fd16d5f to your computer and use it in GitHub Desktop.
set commit name/email/date to author
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 filter-branch --commit-filter '\ | |
export GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME";\ | |
export GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL";\ | |
export GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE";\ | |
git commit-tree "$@"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment