For some reason I'm getting an error when I try this... (first part)
output
Rewrite [hash....] (1/4)usage: git commit-tree <sha1> [(-p <sha1>)...] < changelog
could not write rewritten commit
pre-push script
git filter-branch --commit-filter /path/to/other/script
filter script
GIT_AUTHOR_NAME="safe_username"
GIT_AUTHOR_EMAIL="[email protected]"
GIT_COMMITTER_NAME="safe_username"
GIT_COMMITTER_EMAIL="[email protected]"
EMAIL="[email protected]"
sed 's/find/replace/' |
git commit-tree "$@"