docs: update CONTRIBUTING.md to reflect main branch usage (#172)

This commit is contained in:
qiaofenlin 2025-07-29 21:09:32 +08:00 committed by GitHub
parent 14ca189316
commit 0d83a5e7bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ Before you submit your Pull Request (PR) consider the following guidelines:
3. [Fork](https://docs.github.com/en/github/getting-started-with-github/fork-a-repo) the coze-dev {project_name} repo. 3. [Fork](https://docs.github.com/en/github/getting-started-with-github/fork-a-repo) the coze-dev {project_name} repo.
4. In your forked repository, make your changes in a new git branch: 4. In your forked repository, make your changes in a new git branch:
``` ```
git checkout -b my-fix-branch develop git checkout -b my-fix-branch main
``` ```
5. Create your patch, including appropriate test cases. 5. Create your patch, including appropriate test cases.
6. Follow our [Style Guides](#code-style-guides). 6. Follow our [Style Guides](#code-style-guides).
@ -38,7 +38,7 @@ Before you submit your Pull Request (PR) consider the following guidelines:
``` ```
git push origin my-fix-branch git push origin my-fix-branch
``` ```
9. In GitHub, send a pull request to `{project_name}:develop` 9. In GitHub, send a pull request to `{project_name}:main`
## Contribution Prerequisites ## Contribution Prerequisites
- Our development environment keeps up with [Go Official](https://golang.org/project/). - Our development environment keeps up with [Go Official](https://golang.org/project/).