Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. git filter-branch --env-filter '
  4. if [ "$GIT_AUTHOR_EMAIL" = "<XXX>" ]; then
  5. export GIT_AUTHOR_EMAIL="<YYY>";
  6. export GIT_COMMITTER_EMAIL="<YYY>";
  7. git commit-tree "$@";
  8. else
  9. git commit-tree "$@";
  10. fi' HEAD~6
  11.  
  12. $ sh change-name.sh
  13. Rewrite 1caee75b09bc5a360f792e6eb15b633038d8c222 (1/6)usage: git commit-tree <sha1> [-p <sha1>]* < changelog
  14. env filter failed:
  15. if [ "$GIT_AUTHOR_EMAIL" = "<XXX>" ]; then
  16. export GIT_AUTHOR_EMAIL="<YYY>";
  17. export GIT_COMMITTER_EMAIL="<YYY>";
  18. git commit-tree "$@";
  19. else
  20. git commit-tree "$@";
  21. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement