Skip to content

Instantly share code, notes, and snippets.

@yosmoc
Created December 19, 2015 22:26
Show Gist options
  • Save yosmoc/43234644b862f87adab2 to your computer and use it in GitHub Desktop.
Save yosmoc/43234644b862f87adab2 to your computer and use it in GitHub Desktop.
bulk change git user.name and user.email
git filter-branch -f --env-filter "GIT_AUTHOR_NAME='samurai20000'; GIT_AUTHOR_EMAIL='samurai20000@gmail.com'; GIT_COMMITTER_NAME='samurai20000'; GIT_COMMITTER_EMAIL='samurai20000@gmail.com';" HEAD~10..HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment