Skip to content

Instantly share code, notes, and snippets.

@auxesis
Created March 24, 2010 02:50
Show Gist options
  • Save auxesis/341939 to your computer and use it in GitHub Desktop.
Save auxesis/341939 to your computer and use it in GitHub Desktop.
# rewrite history of git repository
# first refspec must be 1 before the one you want to change
git filter-branch --env-filter 'export GIT_AUTHOR_NAME="Lindsay Holmwood" && export GIT_AUTHOR_EMAIL="[email protected]"' d5f97f714ba98d28d6a548663370a915817af47f..bac90459e8ccb3bed1abb16c546fe50d8db27d84 HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment