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 GIT_AUTHOR_EMAIL=edgar.r.sandi@gmail.com GIT_COMMITTER_EMAIL=edgar.r.sandi@gmail.com" master
git filter-branch --commit-filter 'if [ "$GIT_AUTHOR_NAME" = "Aluno" ]; then export GIT_AUTHOR_NAME="Edgar Sandi"; export GIT_AUTHOR_EMAIL=edgar.r.sandi@gmail.com; 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