Skip to content

Instantly share code, notes, and snippets.

@leetreveil
Created July 19, 2011 15:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save leetreveil/1092829 to your computer and use it in GitHub Desktop.
Save leetreveil/1092829 to your computer and use it in GitHub Desktop.
Change the author of a specific commit (git)
git filter-branch -f --env-filter 'if [[ "$GIT_COMMIT" = "119900cd7054c64f2b8e4774e59afbfc39a28e73" ]]; then export GIT_COMMITTER_NAME="Lee Treveil" GIT_AUTHOR_NAME="Lee Treveil" GIT_COMMITTER_EMAIL="leetreveil@gmail.com" GIT_AUTHOR_EMAIL="leetreveil@gmail.com"; fi' HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment