What is the forking workflow, and how does it differ from a shared-repository feature-branch workflow?
Last updated
Forking workflow: each contributor pushes to their own server-side copy (fork, as
origin) and proposes changes toupstreamvia pull requests, so no write access to the main repo is needed.Shared-repository workflow: everyone has write access and pushes feature branches directly to one central repo. It is simpler for a trusted team.
The key difference is the trust boundary: forking suits open source where maintainers control merges.
- https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests?fbclid=IwZXh0bgNhZW0CMTAAAR2Z4ULHt9q_xnnR7lFconZ1q_BYXTKwjSYviUs6OZPxf2GhW7W7u2Lw3u4_aem_wnQXwBYyCBFe5u2hnxC09g
- https://rainsworth.github.io/intro-to-github/06_Collaboration.html
- https://farens.me/blog/collaboration-in-git-a-comparison-of-different-workflows
- https://www.atlassian.com/git/tutorials/comparing-workflows/forking-workflow
- https://www.atlassian.com/git/tutorials/comparing-workflows
- https://habtesoft.medium.com/forking-vs-branching-demystifying-git-workflows-for-open-source-and-teams-part-7-79f89b8c0570
- https://medium.com/@morepravin1989/collaborating-on-github-pull-requests-collaborators-forks-step-by-step-32e51ae8db02
- https://noresm-docs.readthedocs.io/en/noresm2.1/contribute/fork_workflow.html