Hacker News new | ask | show | jobs
by px1999 4282 days ago
I've found that adding

  fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to my .git/config lets me treat PRs as regular remote branches. This looks neat, but does it provide anything extra that's PR-specific?
1 comments

yes, adding that lets you see all remote branches, including PR's. The goal with this tool is to eliminate editing .git/config for each project and make it easier to work with pr's locally. This is just the first step. Definitely planning to add more pr-specific feature. Do open an issue if there's any particular feature you would like to see. Thanks :)