Updated on 2024-12-11 GMT+08:00

Editing and Creating a Merge Request

Go to the repo homepage, click Code to go to the code homepage, and create a branch based on the code branch to be merged. Select the branch to be modified, edit the code, and create a merge request.

  • To add a code file, click Create to create a code file or upload one from your local PC. After modifying a branch, click Create Merge Request on the right of Code, select the branch to be merged, and click Next. The Create Merge Request page is displayed, the title is mandatory..
  • To modify a code file online, click the file name on the Code page and click . Edit and save the file. Click Create MR. You can view the file difference comparison and commit record of the two branches in the lower part of the page.
    • A branch name cannot start with hyphen (-), period (.) refs/heads/refs/remotes/ nor end with . / .lock. Spaces and the following characters are not supported:. [ \ < ~ ^: ? ( ) ' " |