Skip to content

Instantly share code, notes, and snippets.

@edgarsandi
Last active December 25, 2015 03:39
Show Gist options
  • Save edgarsandi/6911445 to your computer and use it in GitHub Desktop.
Save edgarsandi/6911445 to your computer and use it in GitHub Desktop.
git filter-branch --env-filter "export [email protected] [email protected]" master
git filter-branch --commit-filter 'if [ "$GIT_AUTHOR_NAME" = "Aluno" ]; then export GIT_AUTHOR_NAME="Edgar Sandi"; export [email protected]; fi; git commit-tree "$@"'
http://stackoverflow.com/questions/750172/how-do-i-change-the-author-of-a-commit-in-git
http://happygiraffe.net/blog/2009/09/01/changing-the-committer/
git remote add origin https://github.com/edgarsandi/symfony_handson.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment