Last active
June 6, 2016 19:25
-
-
Save JanTvrdik/2425007 to your computer and use it in GitHub Desktop.
Add pull request to existing issue on github
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 -d "pull[base]={branch_in_project_to_pull_to}" -d "pull[head]={your_github_username}:{branch_you_want_to_merge}" \ | |
-d "pull[issue]={issue_number}" \ | |
-u '{your_github_username}:{your_github_password}' \ | |
https://github.com/api/v2/json/pulls/{github_username_you_are_requesting_the_pull_from}/{project_you want_to_submit_pull_to} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
HEAD must be on the branch which contains the pull request.