Skip to content

Instantly share code, notes, and snippets.

@Nikeshsuwal
Last active May 27, 2016 04:52
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 Nikeshsuwal/f131661b80b4cd4f289fe2ea97bbc7e0 to your computer and use it in GitHub Desktop.
Save Nikeshsuwal/f131661b80b4cd4f289fe2ea97bbc7e0 to your computer and use it in GitHub Desktop.
git filter-branch --commit-filter 'if [ "$GIT_AUTHOR_NAME" = "Josh Lee" ];
then export GIT_AUTHOR_NAME="Hobo Bob"; export GIT_AUTHOR_EMAIL=hobo@example.com;
fi; git commit-tree "$@"';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment