Skip to content

Instantly share code, notes, and snippets.

@roolo
Last active January 3, 2016 23:59
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roolo/8538765 to your computer and use it in GitHub Desktop.
Save roolo/8538765 to your computer and use it in GitHub Desktop.
Reset author in git
git filter-branch -f --env-filter "
GIT_AUTHOR_NAME='Mailo Světel'
GIT_AUTHOR_EMAIL='development@rooland.cz'
GIT_COMMITTER_NAME='Mailo Světel'
GIT_COMMITTER_EMAIL='development@rooland.cz'
" HEAD
# Remove the old history
git update-ref -d refs/original/refs/heads/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment