You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contributing/pull_request.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -238,7 +238,12 @@ The best way to contribute is to fork the CodeIgniter4 repository, and "clone" t
238
238
-`> cd CodeIgniter4/`
239
239
-`> composer update`
240
240
6. Create a new [branch](https://help.github.com/en/articles/about-branches) in your project for each set of changes you want to make.
241
-
-`> git checkout -b <new-branch-name>`
241
+
- If your PR is for bug fixes:
242
+
-`> git switch develop`
243
+
-`> git switch -c <new-branch-name>`
244
+
- If your PR has any enhancement, create new branch from next minor version branch, e.g. __"4.3"__:
245
+
-`> git switch <next-minor-version-branch>`
246
+
-`> git switch -c <new-branch-name>`
242
247
7. Fix existing bugs on the [Issue tracker](https://github.com/codeigniter4/CodeIgniter4/issues) after confirming that no one else is working on them.
243
248
8.[Commit](https://help.github.com/en/desktop/contributing-to-projects/committing-and-reviewing-changes-to-your-project) the changed files in your contribution branch.
0 commit comments