daily pastebin goal
5%
SHARE
TWEET

Untitled

a guest Apr 16th, 2018 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2. # Provides a way to compare a fork against the original it is based
  3. # on so you can get a general idea of what is in a fork.
  4. #
  5. #   git-fork-compare <original> <fork>
  6.  
  7. TMP_GIT=`mktemp -d`;
  8. rmdir $TMP_GIT;
  9. git clone -q $2 $TMP_GIT;
  10. cd $TMP_GIT;
  11. git remote add orig $1;
  12. git fetch -q orig > /dev/null 2>&1;
  13. git diff orig/master...master;
  14. rm -rf $TMP_GIT;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top