Skip to content

Opening files from pull requests and branches

Hot on the heels of checking out pull requests, you can now open files in GitHub for Mac and GitHub for Windows straight from pull requests and branches! You can…

Author

Hot on the heels of checking out pull
requests
, you can now
open files in GitHub for Mac and GitHub for
Windows
straight from pull requests and branches!

You can see the new “Open” button in pull requests:

pr-open-file

And when viewing a file on a branch:

branch-open-file

Clicking it will open GitHub for Mac or GitHub for Windows, clone the repository
(if you don’t have it), automatically switch to the branch containing the
changes, and finally open the file for editing in its default application.

We’re hoping that this makes it much easier to address pull request comments! 📝

Explore more from GitHub

Product

Product

Updates on GitHub products and features, hot off the press.
The ReadME Project

The ReadME Project

Stories and voices from the developer community.
GitHub Copilot

GitHub Copilot

Don't fly solo. Try 30 days for free.
Work at GitHub!

Work at GitHub!

Check out our current job openings.