33.43 Git Workflow through Forking

20210427

The git workflows we’ve covered in other sections generally deal with a collaborative project with a team having access to the same repository. Each team member clones the repository, creates branches to work on, and then creates a pull request to merge the work into the develop branch of the main repository. The main developers will occasionally merge develop into the main branch to create a new release. This way, the latest stable version is always in the main branch.

To contribute to someone’s repository, you can fork their repository into your account. Then create a feature branch from the upstream develop branch. Then make your own changes and commit them and test as you go. Push the changes to your fork and when you are ready submit a pull request for the upstream develop branch.



Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0