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
Try out OpenAI o1 in GitHub Copilot and Models
OpenAI o1-preview and o1-mini are now available in GitHub Copilot Chat in VS Code and in the GitHub Models playground.
Enhancing the GitHub Copilot ecosystem with Copilot Extensions, now in public beta
Whether you’re an individual developer looking to streamline your workflow or an organization aiming to integrate proprietary tools, GitHub Copilot Extensions now offers a platform to make that happen and to share your creations on the GitHub Marketplace.
First Look: Exploring OpenAI o1 in GitHub Copilot
We’ve tested integrating OpenAI o1-preview with GitHub Copilot. Here’s a first look at where we think it can add value to your day to day.