-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Branching v. Forking #54
Comments
My proposed alt. For repositories where collaborators are a small and trusted group the Feature Branch
model is normally sufficient.
A Forking model is preferable if:
* There are more collaborators, because the number of branches may become unwieldy.
* There are external collaborators whose contribution is valued,
but the repository owners need to retain control of the original.
For this reason most open source projects use a Forking Model. |
Thanks @wxtim! 🎉 Would it be worth stating some facts about the different approaches first? For example: A decision-makers guide! With the Feature Branch model:
With the Forking model:
Then follow with: A Feature Branch model might be preferable if:
A Forking model might be preferable if the repository owner(s):
? I would argue that it doesn't matter whether a contributor is internal or external, so I have used the term "contributor" above :) |
There are notes that i use a lot in the https://github.com/MetOffice/GitAndGitHubCoP/blob/main/repositories.md CoP page; please feel free to use these (and propose improvements in situ) i like Tim's brief summary, it captures things well. it might be a useful point to re-iterate the value of CONTRIBUTING.md
some thoughts regarding to Emma's post (cherry-pick at will) With the Feature Branch model:
With the Forking model:
Then follow with: A Feature Branch model might be preferable if:
A Forking model might be preferable if the repository owner(s):
** It may also be worth noting that moving from a feature branch model to a forking model isn't too hard, so it's not a for-ever choice. It's also not a strict either-or choice, facets of both models can be combined. (refer back to contributor guide being documented)** ( aside: I would advocate against enforcing a |
Aren't these further up the page here? Any points not already made in that document and made in the above comments should be added to those pros and cons. I'm inclined to add the following to my original summary.
|
My suggestion having run my og suggestion through a reading-age checker
|
This text from chapter 2 attempts to define when branching and forking models are appropriate.
I don't think it's quite right, and that the choice is often more about securuty than size.
The text was updated successfully, but these errors were encountered: