Web-flow editing from Pull Requests
Pull Requests are key to our collaboration workflow here at GitHub, so today we’re making it a little easier to stay in the flow of a PR while collaborating directly…
Pull Requests are key to our collaboration workflow here at GitHub, so today we’re
making it a little easier to stay in the flow of a PR while collaborating
directly on the web.
When viewing the “files changed” tab of any PR, people with push access
to the repository will be able to edit or view files directly on the PR’s branch.
Once you’ve made your change, you’ll be sent straight back to the PR’s diff
to continue the review.
The buttons will always link to the latest version of each file on the branch, enabling rapid-fire
web-based iteration and discussion without having to leave the context of the PR.
ProTip™: If you’re viewing a branch’s version of a file, and want a canonical link that will always
point to this specific version of the file (even if the branch changes it further), hit the y
key on your keyboard, and the page’s URL will change to use the SHA of the latest commit on the branch instead.
Written by
Related posts

The developer role is evolving. Here’s how to stay ahead.
AI is changing how software gets built. Explore the skills you need to keep up and stand out.

How GitHub protects developers from copyright enforcement overreach
Why the U.S. Supreme Court case Cox v. Sony matters for developers and sharing updates to our Transparency Center and Acceptable Use Policies.

GitHub Copilot gets smarter at finding your code: Inside our new embedding model
Learn about a new Copilot embedding model that makes code search in VS Code faster, lighter on memory, and far more accurate.