Github surprise

Three months ago I asked GH if it’s somehow possible to search pull requests by branch. It was not possible at that time.

It’s a nice surprise that they eventually implemented it… but it’s even more surprising that they e-mailed me about that! (after three months!)

You can now search for pull requests by branch name.

`is:open base:staging` will find all open pull requests that will be merged into a “staging” branch (https://github.com/search?q=is:open+base:staging)

`is:open head:feature` will find all open pull requests that want to merge code from a “feature” branch (https://github.com/search?q=is%3Aopen+head%3Afeature)

The search uses prefix matching so the entire branch name does not have to be typed into the search field. The search for `is:open head:feature` will also match a branch named “feature-api-enhancement”.

We hope you enjoy this new feature. As always, please send us an email if you have any questions.

TwP

I wonder what kind of system they use – my support request/ticket must have been linked with feature/user story.

Neat.

Share Button

Leave a Reply

Your email address will not be published. Required fields are marked *