3 ms·
It's possible to configure it to have all PRs automatically fetched when you use `git fetch origin`: https://gist.github.com/piscisaureus/3342247 https://gist.
by jakub_g 12y ago
It's possible to configure it to have all PRs automatically fetched when you use `git fetch origin`:
https://gist.github.com/piscisaureus/3342247 https://gist.github.com/piscisaureus/3342247
and then you'll have each PR available under sth like
git checkout pr/123
- ntalbott 12y agoCool, I'll have to try that! Does it also pull PR's that live on feature branches in forks of the root repo?
- jakub_g 12y agoIt fetches all the PRs. Once you open a PR for a project (even from a fork), github creates a local branch for that PR in the upstream project. Note though that doing a fetch will take some time the first time after you set up this - it will fetch all the historical PRs.