Skip to content

Instantly share code, notes, and snippets.

@danilodequeiroz
Last active August 11, 2023 05:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danilodequeiroz/25f02bc2b7634094b968f0db5981dd32 to your computer and use it in GitHub Desktop.
Save danilodequeiroz/25f02bc2b7634094b968f0db5981dd32 to your computer and use it in GitHub Desktop.
update all al commit's email and username from gitlog to specific user
git filter-branch -f --env-filter "GIT_AUTHOR_NAME='newusename'; GIT_AUTHOR_EMAIL='someuser@email.com'; GIT_COMMITTER_NAME='newusename'; GIT_COMMITTER_EMAIL='someuser@email.com';" HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment