Skip to content

Instantly share code, notes, and snippets.

@omero
Created August 24, 2018 18:51
Show Gist options
  • Save omero/804b52fbd3eee990ec9ed07afdd1ecf0 to your computer and use it in GitHub Desktop.
Save omero/804b52fbd3eee990ec9ed07afdd1ecf0 to your computer and use it in GitHub Desktop.
Download BitBucket PR's
curl -L -u $BB_USER:$BB_PASS https://bitbucket.org/api/2.0/repositories/[org]/[repo-name]/pullrequests/[pr-number]/diff | git apply
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment