Guest User

Untitled

a guest
Feb 19th, 2018
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. git filter-branch --env-filter '
  2. WRONG_EMAIL="oaaburto@example.com"
  3. NEW_NAME="Osvaldo Cordova"
  4. NEW_EMAIL="oca159@hotmail.es"
  5.  
  6. if [ "$GIT_COMMITTER_EMAIL" = "$WRONG_EMAIL" ]
  7. then
  8. export GIT_COMMITTER_NAME="$NEW_NAME"
  9. export GIT_COMMITTER_EMAIL="$NEW_EMAIL"
  10. fi
  11. if [ "$GIT_AUTHOR_EMAIL" = "$WRONG_EMAIL" ]
  12. then
  13. export GIT_AUTHOR_NAME="$NEW_NAME"
  14. export GIT_AUTHOR_EMAIL="$NEW_EMAIL"
  15. fi
  16. ' --tag-name-filter cat -- --branches --tags
Add Comment
Please, Sign In to add comment