Bring back CLI instructions for checking out PRs #214825
Replies: 3 comments 2 replies
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
|
You can do this with plain Git, even if the PR came from a fork. In a clone where git fetch origin refs/pull/123/head:refs/heads/review-123
git switch review-123Replace |
|
You can still check out a contributor's PR locally without any third-party tools by fetching GitHub's pull request ref. For example, to test PR #123: git fetch origin pull/123/head:pr-123
git switch pr-123This also works for pull requests originating from forks, provided If you prefer the official GitHub CLI, the equivalent is simply: gh pr checkout 123You can also pass the full PR URL to Official documentation: This doesn't restore the missing UI button, but it provides a workaround without requiring a third-party browser extension. |
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
Body
The "show command line instructions" link is lost in the new PR view
This was extreemly helpfull in my daily workflow of testing contributors PR.
Now I need to remebmer the commands myself and copy the diffrents part of them form the PRs. This is quite tedious.
Or is there a suitable alternative without using third party tools?
Like: refined-github/refined-github#963
All reactions