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…
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:
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.
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!
Written by
Related posts
![](https://github.blog/wp-content/uploads/2023/10/Collaboration-DarkMode-2.png?resize=400%2C212)
2024 is the biggest global election year in history. What’s at stake for developers?
GitHub is considering what is at stake for our users and platform, how we can take responsible action to support free and fair elections, and how developers contribute to resilient democratic processes.
![](https://github.blog/wp-content/uploads/2023/10/AI-DarkMode-2.png?resize=400%2C212)
GitHub named a Leader in the Gartner first-ever Magic Quadrant for AI Code Assistants
This year, as part of its annual Magic Quadrant series, Gartner published a first-of-its-kind report analyzing the state of play in the AI Code Assistants market–and named GitHub a Leader.
![AI in software development 2024 survey results with colorful graphics and percentages.](https://github.blog/wp-content/uploads/2024/08/ai-survey-header.png?resize=400%2C212)
Survey: The AI wave continues to grow on software development teams
We surveyed 2,000 people on software development teams at enterprises in the U.S., Brazil, India, and Germany about the use, experience, and expectations around generative AI tools in software development.