Created
August 7, 2015 09:40
-
-
Save DaveCTurner/0614baa193da5880c99d to your computer and use it in GitHub Desktop.
Using curl to add a PR to an issue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl https://api.github.com/repos/vincenthz/hs-certificate/pulls \ | |
-XPOST --data-binary '{"issue":57,"head":"DaveCTurner:issue-57","base":"master"}' \ | |
-H"Content-type: application/json" -u DaveCTurner -H"X-GitHub-OTP: nnnnnn" # asks for password |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment