Optionally, in the "Description" field, type a description of your fork. Optionally, to further distinguish your fork, in the "Repository name" field, type a name. Under "Owner," select the dropdown menu and click an owner for the forked repository.īy default, forks are named the same as their upstream repositories. In the top-right corner of the page, click Fork. On, navigate to the octocat/Spoon-Knife repository. You can practice setting the upstream repository using the same octocat/Spoon-Knife repository you just forked. To do this, you'll need to use Git on the command line. In this case, it's good practice to regularly sync your fork with the upstream repository. You might fork a project to propose changes to the upstream repository. For more information, see " Set up Git." Forking a repository If you haven't yet, first set up Git and authentication with from Git. You can also take a free GitHub Skills course on maintaining open source communities. For more information, see " Choose an open source license" at .įor more information on open source, specifically how to create and grow an open source project, we've created Open Source Guides that will help you foster a healthy open source community by recommending best practices for creating and maintaining repositories for your open source project. When creating your public repository from a fork of someone's project, make sure to include a license file that determines how you want your project to be shared with others. For more information, see the " About the Open Source Initiative" on the Open Source Initiative.įor more information about applying open source principles to your organization's development work on, see GitHub's white paper " An introduction to innersource." Open source software is based on the idea that by sharing code, we can make better, more reliable software. Use someone else's project as a starting point for your own idea. Submit a pull request to the project owner.Rather than logging an issue for a bug you have found, you can: For more information, see " Working with forks." Propose changes to someone else's projectįor example, you can use forks to propose changes related to fixing a bug. Forks are often used to iterate on ideas or changes before they are proposed back to the upstream repository, such as in open source projects or when a user does not have write access to the upstream repository. A fork is a new repository that shares code and visibility settings with the original “upstream” repository.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |