Marcello Henrique wrote:
> The first option, commits made by different committers which are, in
> fact, the same person.
Then you should probably use a properly instrumented call to
`git filter-branch --commit-filter`
According to the git-filter-branch manual [1], it exports a set of
environment variables GIT_AUTHOR_* and GIT_COMMIT_* whose values can
be changed in the filter code to affect the recorded commit.

I think that should be something like:

$ git filter-branch --commit-filter '
  if [ "$GIT_AUTHOR_NAME" = "Marcello Henrique" ]; then
    GIT_AUTHOR_NAME="John Random Hacker";
  fi' HEAD

May be the filter code should also `export` the changed variables -- I
don't really know.


You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to