Skip to content

Commit 7b2ed47

Browse files
authored
Merge pull request #6141 from kenjis/fix-docs-contrib-PR
docs: update for branch model change
2 parents 0fe1ed1 + 2ab2c3a commit 7b2ed47

2 files changed

Lines changed: 14 additions & 13 deletions

File tree

‎contributing/pull_request.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,9 @@ PRs with any enhancement should be sent to next minor version branch, e.g. __"4.
171171

172172
The __"master"__ branch will always contain the latest stable version and is kept clean so a "hotfix" (e.g. an
173173
emergency security patch) can be applied to the "master" branch to create a new version, without worrying
174-
about other features holding it up. For this reason, all commits need to be made to the "develop" branch,
175-
and any sent to the "master" branch will be closed automatically. If you have multiple changes to submit,
174+
about other features holding it up. Any sent to the "master" branch will be closed automatically.
175+
176+
If you have multiple changes to submit,
176177
please place all changes into their own branch on your fork.
177178

178179
**One thing at a time:** A pull request should only contain one change. That does not mean only one commit,

‎contributing/workflow.md‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ values for when you try these:
1616

1717
## Branching
1818

19-
CodeIgniter uses the
20-
[Git-Flow](http://nvie.com/posts/a-successful-git-branching-model/)
21-
branching model, which requires all pull requests to be sent to the
22-
"develop" branch. This is where the next planned version will be
23-
developed. The "master" branch will always contain the latest stable
19+
- All bug fix PRs should be sent to the __"develop"__ branch, this is where the next bug fix version will be developed.
20+
- PRs with any enhancement should be sent to next minor version branch, e.g. __"4.3"__
21+
22+
The "master" branch will always contain the latest stable
2423
version and is kept clean so a "hotfix" (e.g: an emergency security
2524
patch) can be applied to master to create a new version, without
26-
worrying about other features holding it up. For this reason, all
27-
commits need to be made to "develop" and any sent to "master" will be
28-
closed automatically. If you have multiple changes to submit, please
25+
worrying about other features holding it up. Any sent to "master" will be
26+
closed automatically.
27+
28+
If you have multiple changes to submit, please
2929
place each change into their own branch on your fork.
3030

3131
One thing at a time: a pull request should only contain one change. That
@@ -64,7 +64,7 @@ Clone your repository, leaving a local folder for you to work with:
6464
cd ALL_PROJECTS
6565
git clone ORIGIN_URL
6666

67-
## Syncing develop
67+
## Syncing your repository
6868

6969
Within your local repository, Git will have created an alias,
7070
**origin**, for the GitHub repository it is bound to. You want to create
@@ -177,7 +177,7 @@ On GitHub, you propose your changes one feature branch at a time, by
177177
switching to the branch you wish to contribute, and then clicking on
178178
"New pull request".
179179

180-
Make sure the pull request is for the shared **develop** branch, or it
180+
Make sure the pull request is for the shared __"develop"__ or next minor version branch, e.g. __"4.3"__, or it
181181
may be rejected.
182182

183183
Make sure that the PR title is helpful for the maintainers and other
@@ -218,7 +218,7 @@ And if your PRs have the breaking changes, label the following label:
218218

219219
If you are asked for changes in the review, commit the fix in your branch and push it to GitHub again.
220220

221-
If the `develop` branch progresses and conflicts arise that prevent merging, or if you are asked to *rebase*,
221+
If the __"develop"__ or next minor version branch, e.g. __"4.3"__, progresses and conflicts arise that prevent merging, or if you are asked to *rebase*,
222222
do the following:
223223

224224
Synchronize your repository:

0 commit comments

Comments
 (0)