Skip to content

Instantly share code, notes, and snippets.

@aectann
Created May 2, 2014 17:10
Show Gist options
  • Save aectann/4a64d55dc344a9c63452 to your computer and use it in GitHub Desktop.
Save aectann/4a64d55dc344a9c63452 to your computer and use it in GitHub Desktop.
Override all git commits' author & comitter.
git filter-branch -f --commit-filter 'export GIT_AUTHOR_NAME="Author name" ; export [email protected]; export GIT_COMMITTER_NAME="Comitter Name"; export [email protected]; git commit-tree "$@"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment