I would like to change my name, surname and email in my all commits, is it possible?
git filter-branch --commit-filter 'if [ "$GIT_AUTHOR_NAME" = "Josh Lee" ]; then export GIT_AUTHOR_NAME="Hobo Bob"; export GIT_AUTHOR_EMAILemail@example.com; fi; git commit-tree "$@"'
This only affects the author, not the committer (which for most commits will be the same as the author). If you want to rewrite those as well, set the
The standard warning about rewriting history applies; only do it to history that has not yet been shared.