The Global -R flag is not taken into account when attempting to create a new PR on the target repo. Instead you get the output of the current repo.
Example:
gh pr create -R tierninho/sddffdgfdgdfgf
Warning: 2 uncommitted changes
To https://github.com/tierninho/PRlist.git
! [rejected] HEAD -> master (non-fast-forward)
error: failed to push some refs to 'https://github.com/tierninho/PRlist.git'
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and integrate the remote changes
hint: (e.g. 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
git: exit status 1
Tested on gh version 0.3.5, OSX
The Global
-Rflag is not taken into account when attempting to create a new PR on the target repo. Instead you get the output of the current repo.Example:
Tested on gh version 0.3.5, OSX