Files
Gitcloned-BettaFish/CONTRIBUTING-EN.md
2025-11-11 20:10:10 +08:00

1.4 KiB
Raw Blame History

Contribution Guide

Thank you for your interest in contributing to this project! To maintain high code quality and clear version management, please follow the steps below when submitting your changes.

🪄 How to Submit a Pull Request (PR)

1 Fork the Repository

Fork this repository to your own GitHub account.

2 Clone to Local

git clone https://github.com/<your-username>/<repository-name>.git
cd <repository-name>

3 Create a Feature Branch

git checkout -b feature/your-feature-name

Recommended naming convention: feature/xxx or fix/xxx, to easily distinguish between new features and bug fixes.

4 Develop and Test

  • Make your code changes while keeping the projects coding style consistent.
  • Ensure that all new features or fixes pass the necessary tests.

5 Commit Your Changes

git add .
git commit -m "type: short description"

Its recommended to follow the Conventional Commits specification to keep commit history clean and readable.

6 Push to Remote

git push origin feature/your-feature-name

7 Open a Pull Request

  1. On GitHub, click New Pull Request.

  2. The target branch must be the main branch of this repository.

  3. Fill in the PR description:

    • Describe the main changes you made.
    • If related issues exist, please link them in the PR.