Last active
November 23, 2015 21:53
-
-
Save sscotth/55e7265c73b6d9bcbdbe to your computer and use it in GitHub Desktop.
Reset commits before push
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 'if [ "$GIT_AUTHOR_EMAIL" = "[email protected]" ]; then export GIT_AUTHOR_NAME="Scott Humphries"; export [email protected]; export GIT_COMMITTER_NAME="Scott Humphries"; export [email protected]; fi; git commit-tree "$@"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment