Skip to content

Forking with the Edit Button

You've been able to edit files in repositories you own on GitHub for years. But today, we've improved the workflow for this functionality. You can now edit files in repositories…

Author

You’ve been able to edit files in repositories you own on GitHub for years. But today, we’ve improved the workflow for this functionality. You can now edit files in repositories that you don’t have write access to!

If you browse to a file on GitHub in someone else’s repository and want to suggest a change, you can click the new ‘Fork and edit file’ button:

1

This will let you change the file. If you don’t have a fork of the project already, it will fork it for you in the background. When you are done with your edit, we will write your change into your new fork automatically and send you to the pull request page so you can tell the owner of the repository.

2

If you would like to try it yourself, go ahead and add something to this file.

This makes it so you can make a change to any visible file and send it to the project owner in mere seconds. Happy collaborating!

Explore more from GitHub

Company

Company

The latest on GitHub, from GitHub.
GitHub Universe 2024

GitHub Universe 2024

Get tickets to the 10th anniversary of our global developer event on AI, DevEx, and security.
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.