Skip to content

Instantly share code, notes, and snippets.

@medwards
Created May 7, 2012 12:23
Show Gist options
  • Save medwards/2627489 to your computer and use it in GitHub Desktop.
Save medwards/2627489 to your computer and use it in GitHub Desktop.
This doesn't work
function reauthor_git()
{
git filter-branch -f --commit-filter '
GIT_AUTHOR_NAME=$1
GIT_AUTHOR_EMAIL=$2
git commit-tree "$@"
' $3
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment