git filter-branch --env-filter \' export GIT_AUTHOR_EMAIL=\"foo@example.com\" export GIT_AUTHOR_NAME=\"foo\"\' -- commita..commitb
Results in
git filter-branch does accept range notation, but the end of the range needs to be a reference, not the ID of a commit.
git filter-branch
git checkout -b tofilter commitb git filter-branch .... commita..tofilter
If given just commits, it would not know what ref to update with the filtered branch.