Back to GitHub.com GitHub Support Contact GitHub

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 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! :pencil:

Have feedback on this post? Let @github know on Twitter.
Need help or found a bug? Contact us.

Subscribe

Discover new ways to build better

Try Marketplace apps free for 14 days

Learn more