A code group is a collection of code repositories. You can manage permissions for repositories in a group by configuring its members. Code groups also support creating subgroups for structured management.
Create a code group
Log on to Apsara DevOps. In the top menu bar, click Code Management to go to the Code Management page.
In the navigation pane on the left, select Code Groups, and then click New Group.

In the New Group dialog box, enter the following code group information:
Code Group Name: The name of the code group.
Code Group Path: The path of the code group. By default, this matches the code group name.
The code group description is optional.
Visibility: Specifies whether the code group is publicly visible within the organization.
Click OK. The code group is created.
View a code group
Subgroups and Repositories
On the Subgroups and Repositories tab, you can create subgroups, import code repositories, and view the list of subgroups and repositories under the code group.
A subgroup is also a collection of code repositories created under a code group. A code group can have up to four levels of subgroups.

Merge Requests
View a summary of merge request records for the code group and all its underlying code repositories.
Activity
Displays an overview of the code group. This tab currently shows activity information for the code group, its subgroups, and its code repositories.
Activity information includes member activities, commit activities, and merge request activities.

Members
Manage permissions by assigning and adjusting member roles. You can flexibly add members or remove members to ensure the security of the code group and its repositories.

Settings
Basic settings
As a code group administrator or organization administrator, you can modify the basic information of a code group, including its name, description, thumbnail, and visibility. This helps other developers or members within the organization find the code group more quickly.
The relationship between the visibility of a code group and its subgroups or code repositories is as follows:
If a code group is public, its subgroups and code repositories can be private.
If a code group is private, its subgroups and code repositories must be private.
If a code group is private, you can change its visibility to public.
If a code group is public, whether you can change its visibility depends on the visibility of its subgroups and code repositories. If any subgroup or code repository is public, you cannot change the code group's visibility. If all subgroups and code repositories are private, you can change it.
The adjustments described above are possible only if allowed by the organization settings. If adjustments are not allowed in the organization settings, the organization's rules take precedence.
High-risk operations
Modify code group path: Developers often access repositories by directly entering a URL. A meaningful path helps developers find a code repository faster. After you modify the path, you must update the local repository's remote URL to point to the new address.
Transfer code group: You can transfer a code group to another group. Transferring a code group affects developer operations and access, and makes the original clone URL unavailable. After the transfer, you must update the local repository's remote URL to point to the new address.
Delete code group: Deleting a code group also deletes all of its subgroups and code repositories. This action cannot be undone. The deleted subgroups and code repositories cannot be recovered.