Skip to content

Instantly share code, notes, and snippets.

@tschaub
Created July 11, 2012 16:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tschaub/3091573 to your computer and use it in GitHub Desktop.
Save tschaub/3091573 to your computer and use it in GitHub Desktop.
modify existing issue or pull request
# examples assume username is johndoe and johndoe has a branch named new-features
# these examples work with the openlayers organization and the ol3 repo, could be any other
# say you want to turn issue #5 into a pull request based on new-features branch
# same syntax if issue #5 is already a pull request
curl -d '{"issue": "5", "head": "johndoe:new-features", "base": "master"}' -u 'johndoe' https://api.github.com/repos/openlayers/ol3/pulls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment