Skip to content

Instantly share code, notes, and snippets.

@unakatsuo
Created December 6, 2013 06:47
Show Gist options
  • Save unakatsuo/7819587 to your computer and use it in GitHub Desktop.
Save unakatsuo/7819587 to your computer and use it in GitHub Desktop.
curl example for converting github issue to pull request.
# http://developer.github.com/v3/pulls/#create-a-pull-request
curl -u "unakatsuo:your_oauth_token" https://api.github.com/repos/axsh/wakame-vdc/pulls -d '{"issue": "325", "head":"fix-instance-monitor", "base":"master"}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment