pr-new fails when `github.owner` is set
perlpunk opened this issue · 1 comments
perlpunk commented
I usually work on git-hub with two remotes - the original and my fork.
pr-new will just do the right thing.
For convenience (commands like issues, pr-list should always go to the original) I have set:
git config github.owner ingydotnet
But with this I get the error mesage:
% git hub pr-new
...
curl --request POST https://api.github.com/repos/perlpunk/git-hub/pulls -d {"head":"ingydotnet:perlpunk/2016-06-changelog","base":"master","title":"Update Changes","body":"Add recent changes\n"} ...
New PR failed:
API status code: 422
API error output:
Unprocessable Entity
The value of "head" should be perlpunk:perlpunk/2016-06-changelog instead.
ingydotnet commented
Just a note. The config key should be git-hub.owner. ALl the config stuff really needs some work.