跳到主要内容

Creating a Pull Request

A Pull Request is a key collaboration tool used to merge code changes into the main branch of a project. Here are the common steps for creating a Pull Request:

  1. Click on "Pull Requests" on the project page and then click "New Pull Request."

    image-20241231152157338

  2. Select the source branch (the branch where you made the code changes) and the target branch (the branch you want to merge into), then proceed.

    image-20241231153416969

  3. On the creation page, fill in the basic information for the PR, including the title and description.

  • The title should be concise and clear, describing the purpose of your Pull Request.

  • In the description, explain why these changes were made and how they impact the project. A clear description helps reviewers better understand your work.

    image-20241231154130856

  1. When creating a PR, you can choose to specify the assignee and reviewers. Select team members to review your code to ensure timely feedback.

    image-20241231154944560

  2. Click "Create" to successfully create a PR.