Using Bitbucket Cloud.
With ls-remote, show-refs, or some other git command, I would like to obtain a list of current pull-requests from origin in our repos.
I have read and applied changes mentioned in:
"Show refs of pull requests in stash" and in "Pull request proficiency: Fetching abilities unlocked!"
nothing has worked so far.
Suggestions are appreciated.
The only way to do this without going into Bitbucket would be to use the REST API to get a list of current pull requests, since this information is not stored in the repository. Have a look at pullrequests for more information on what you can get from the REST API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.