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. This version of GitHub Desktop is a fork that adds support for Linux.A fork is a new repository that shares code and visibility settings with the original “upstream” repository. GitHub Desktop is open source now! Check out our roadmap, contribute, and help us make collaboration even easier. GitHub Desktop is your springboard for work.Ĭommunity supported. Open your favorite editor or shell from the app, or jump back to GitHub Desktop from your shell. See the before and after, swipe or fade between the two, or look at just the changed parts.Įxtensive editor & shell integrations. The new GitHub Desktop supports syntax highlighting when viewing diffs for a variety of different languages.Įxpanded image diff support. See which pull requests pass commit status checks, too!] See all open pull requests for your repositories and check them out as if they were a local branch, even if they're from upstream branches or forks. See the attribution on the history page, undo an accidental attribution, and see the co-authors on Ĭheckout branches with pull requests and view CI statuses. Great for pairing and excellent for sending a little love/credit to that special someone who helped fix that gnarly bug of yours. Whether you're new to Git or a seasoned user, GitHub Desktop simplifies your development workflow.Īttribute commits with collaborators easily. Focus on what matters instead of fighting with Git.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |