Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save digitalhydra/2acaf4713f2708f05f13c40611eb9644 to your computer and use it in GitHub Desktop.
Save digitalhydra/2acaf4713f2708f05f13c40611eb9644 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