Created
May 7, 2010 21:35
-
-
Save jamiew/394031 to your computer and use it in GitHub Desktop.
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
# rewrites history! | |
# finish using 'git push --force origin master' | |
git filter-branch -f --commit-filter ' | |
if [ "$GIT_COMMITTER_NAME" = "Jamie Wilkinson" ]; then | |
GIT_COMMITTER_NAME="Jamie Wilkinson"; | |
GIT_AUTHOR_NAME="Jamie Wilkinson"; | |
GIT_COMMITTER_EMAIL="[email protected]"; | |
GIT_AUTHOR_EMAIL="[email protected]"; | |
git commit-tree "$@"; | |
else | |
git commit-tree "$@"; | |
fi' HEAD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment