Show a "View Branch in Editor" button for PRs
See original GitHub issueDescription
Add a button to PRs that allow you to quickly open VS Code for the branch being reviewed on github.dev.
I find it useful when reviewing big PRs to take a look at a specific branch in the web editor, so I don’t have to download the branch locally.
For any given branch in a repo, you can simply open the VS Code web editor provided by GitHub with this URL structure:
https://github.dev/{username}/{repo}/tree/{branch}
Example editor on Django: https://github.dev/django/django/tree/stable/4.1.x
Screenshot
Example URL
Issue Analytics
- State:
- Created a year ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Keeping your pull request in sync with the base branch
Click the update branch drop down menu, click Update with rebase, and then click Rebase branch to update by rebasing on the base...
Read more >View, filter, and open pull requests - Azure Repos
To list PRs in a specific repository in a project, go to that project in the web portal and select Repos > Pull...
Read more >Using plan branches | Bamboo Data Center and Server 9.1
Plan branches are used to represent a branch in your version control repository, with the plan branch using the same build configuration as ......
Read more >Branches - Redocly
The Overview page for each version shows the primary branch and up to five ... In the Version source section, select the Edit...
Read more >GitHub pull request showing commits that are already in target ...
Here's a good workaround. Use the Edit button when viewing the PR in GitHub to change the base branch to something other than...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have good news! The button is already on your keyboard and you can find it by the symbol <kbd>.</kbd>; it works on any repo, folder, file or PR
Its coming soon directly from GH, its called code spaces.