tencent cloud

All product documents
Adjust Merge Request Settings
Last updated: 2023-12-25 17:08:18
Adjust Merge Request Settings
Last updated: 2023-12-25 17:08:18
This document describes how to adjust the settings of merge requests in a code repository.

Open Project

1. Log in to the CODING Console and click the team domain name to go to CODING.
2. Click

in the upper-right corner to open the project list page and click a project icon to open the corresponding project.
3. In the menu on the left, click Code Repositories > Merge Requests.
Project admins can configure the basic settings as well as default merge modes and target branches of merge requests in Settings > Merge Requests.


Delete Source Branch by Default

If this is enabled, the source branch will be deleted after it is merged into the target branch.

Fast-Forward Merge by Default

If this is enabled, when there is a direct linear path from the source branch to the target branch, the source branch will directly point to the target branch without a merge commit. This process is called the fast-forward merge.

Merge Mode

Three merge modes are available for a source branch with multiple commits:
Direct Merge by Default: Creates a merge commit.
Squash Merge by Default: Combines multiple commits of a source branch into one commit, which can be canceled by users.
Only Squash Merge: Force combines multiple commits of a source branch into one commit, which cannot be canceled.

Default Target Branch

The default target branch for merge requests. We recommend you set the master branch as the default target branch for merge requests.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon