Closed mtyurt closed 5 years ago
Hey @mtyurt have you tried gh pr -u node-gh -r gh
or gh pr --user node-gh --repo gh
?
@protoEvangelion thank you, that command works. It might make sense to add an example like this to the documentation, considering that flags don't have any explanation :) First I saw it, I thought it was filtering the pull requests for given user, not the account name.
Great suggestion @mtyurt Now that I think about it, it is unclear the difference between --repo
, --user
and --remote
. I will open a new issue with that suggestion 👍
What happened? I'm using
gh
outside of a git repository, i.e. polling the open pull requests for a dashboard. I cannot fetch pull request information on another account than mine.What is expected? I understand
remote
should be the same as remote names in a repository. However, I would expect to run a command outside of my git repository directory with proper repo names: