Skip to content
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

📝 更新贡献文档 #292

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,11 @@ pnpm tauri build
- Install Gitmoji: `pnpm install -g gitmoji-cli`
- Commit changes: `gitmoji commit`
- Push changes: `git push`

### Submitting Suggestions

If the functionality being submitted spans a large time period, it is recommended to pull the dev branch every day, as the project may undergo significant code refactoring at any time.

If the functionality being submitted is small with a limited scope of code changes, you can directly modify and commit on the dev branch.

If the functionality being submitted is large with extensive code changes, it is recommended to create a new branch first, and then modify and commit on the new branch.
8 changes: 8 additions & 0 deletions docs/zh/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,11 @@ pnpm tauri build

- 安装 Gitmoji: `pnpm install -g gitmoji-cli`
- 提交更改: `gitmoji commit`

### 提交建议

如果提交的功能时间跨度较大,建议每天都拉取一下dev分支,因为项目随时可能会有大大小小的代码重构。

如果提交的功能较小,代码改动范围较小,可以直接在dev分支上修改并提交。

如果提交的功能较大,代码改动范围较大,建议先创建一个新的分支,然后在新的分支上修改并提交。