Skip to content

Commit c46d889

Browse files
authored
Merge pull request #19098 from github/repo-sync
repo sync
2 parents e71021a + b41f956 commit c46d889

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

content/github/collaborating-with-issues-and-pull-requests/about-collaborative-development-models.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: About collaborative development models
3-
intro: The way you use pull requests depends on the type of development model you use in your project.
3+
intro: The way you use pull requests depends on the type of development model you use in your project. You can use the fork and pull model or the shared repository model.
44
redirect_from:
55
- /articles/types-of-collaborative-development-models/
66
- /articles/about-collaborative-development-models
@@ -12,15 +12,19 @@ topics:
1212
- pull requests
1313
---
1414

15-
There are two main types of development models with which you'd use pull requests. In the *fork and pull model*, anyone can fork an existing repository and push changes to their personal fork. You do not need permission to the source repository to push to a user-owned fork. The changes can be pulled into the source repository by the project maintainer. When you open a pull request proposing changes from your user-owned fork to a branch in the source (upstream) repository, you can allow anyone with push access to the upstream repository to make changes to your pull request. This model is popular with open source projects as it reduces the amount of friction for new contributors and allows people to work independently without upfront coordination.
15+
### Fork and pull model
16+
17+
In the fork and pull model, anyone can fork an existing repository and push changes to their personal fork. You do not need permission to the source repository to push to a user-owned fork. The changes can be pulled into the source repository by the project maintainer. When you open a pull request proposing changes from your user-owned fork to a branch in the source (upstream) repository, you can allow anyone with push access to the upstream repository to make changes to your pull request. This model is popular with open source projects as it reduces the amount of friction for new contributors and allows people to work independently without upfront coordination.
1618

1719
{% tip %}
1820

1921
**Tip:** {% data reusables.open-source.open-source-guide-general %} {% data reusables.open-source.open-source-learning-lab %}
2022

2123
{% endtip %}
2224

23-
In the *shared repository model*, collaborators are granted push access to a single shared repository and topic branches are created when changes need to be made. Pull requests are useful in this model as they initiate code review and general discussion about a set of changes before the changes are merged into the main development branch. This model is more prevalent with small teams and organizations collaborating on private projects.
25+
### Shared repository model
26+
27+
In the shared repository model, collaborators are granted push access to a single shared repository and topic branches are created when changes need to be made. Pull requests are useful in this model as they initiate code review and general discussion about a set of changes before the changes are merged into the main development branch. This model is more prevalent with small teams and organizations collaborating on private projects.
2428

2529
### Further reading
2630

0 commit comments

Comments
 (0)