I\'m using git to versioning a collaborate project.
And I have two remotes. fork is a fork of an project, and origin
Finally success
The first problem is that I was using the key password and not my github password.
With this structure:
Private Organization:
name: Org
repository: main
branch: master
Private Fork:
name: OrgFork (A organization of mine with forks from **Org**)
repository: main
branch: testing
And the other problem is I was needing accept the corrects parameters, the final command looks like this one:
hub pull-request "Testing pull-request" -b Org:master -h OrgFork:testing
Thx for help @cjc343, @StevenPenny, @desert69 =)
You should check out hub, a command line tool to interact with GitHub.
Its README talks about making pull requests.
Perhaps like this
curl -X POST -u garoudan -k \
-d '{"title": "new feature","head": "octocat:new-feature","base": "master"}' \
https://api.github.com/repos/garoudan/foo/pulls
ref