CodeArts Repo
CodeArts Repo
All results for "
" in this service
All results for "
" in this service
What's New
Product Bulletin
Vulnerability Notices
Vulnerability Fixing Policies
Service Overview
CodeArts Repo Illustration
What Is CodeArts Repo?
Advantages
Use Cases
Functions
Principle
Workflow Principles
Code Storage Principles
Security
Authentication and Access Control
Data Protection Technologies
Auditing and Logging
Security Risk Monitoring
Security O&M
Certificates
Permission Management
Constraints
Glossary
Getting Started
Developing Java Code in a Scrum Project
Configuring CodeArts Repo Policies by Administrator
Getting Started with Common Practices
User Guide
Process of CodeArts Repo
Managing Agent Pools
Creating an Agent Pool
Creating an Agent
Installing JDK, Git, and Docker on a Linux Host
Configuring Java Environment Variables on a Windows Host
Configuring a VPC Endpoint
Purchasing CodeArts
Creating and Configuring a CodeArts Project
Creating a CodeArts Project
Adding Project Members
Importing IAM Users from Your Account
Importing Users from Another Project
Inviting Users from Another Account
Importing Users from an Agency
Inviting Users by Link
Associating Team Members
Managing CodeArts Project Role Permissions
Modifying Project Role Permissions
Managing Custom Project Roles
Managing Project Permission Templates
Managing Project Permission Templates
Environment and Personal Settings
Installing and Configuring Git
Configuring an SSH Key
Configuring an HTTPS Password
Configuring an Access Token
Configuring a GPG Public Key
Configuring Git LFS
Configuring a Commit Email Address
Clearing the Repository Memory
Accessing CodeArts Repo Homepage
Configuring Project-Level Settings for CodeArts Repo
Configuring Project-Level Repository Settings
Configuring Protected Branch Rules
Configuring Protected Tag Rules
Configuring Commit Rules
Configuring Project-Level Merge Request Rules
E2E Settings
Configuring Webhook Settings
Configuring Merge Request Templates
Managing Member Permissions
IAM Users, Project Members, and Repository Members
Configuring Project-Level Permissions
Configuring a Repository Group's Permissions
Configuring Repo-Level Permissions
Syncing Project Members to CodeArts Repo
Creating a Repository
Creating Repos in Different Scenarios
Prerequisites for Creating a Repository
Creating a Custom Repository
Creating a Repository Using a Template
Forking a Repository
Migrating Code and Syncing a Repository
Repository Migration Overview
Obtaining an Access Token
Obtaining an Access Token from GitHub
Obtaining an Access Token from GitLab
Obtaining an Access Token from Gitee
Obtaining an Access Token from Coding
Obtaining an Access Token from Codeup
Obtaining a Password from Bitbucket
Migrating a Third-Party Git Repository to CodeArts Repo
Migrating a Git Repository Using a URL
Migrating a GitHub Repository
Migrating a GitLab Repository
Migrating a Self-Built GitLab Repository
Migrating a GitHub Repository
Migrating a Coding Repository
Migrating a Codeup Repository
Migrating a Bitbucket Repository
Migrating a Gerrit Repository
Importing a Local Git Repository to CodeArts Repo
Migrating an SVN Code Repository
Syncing Repo Settings
Verifying the Import Permission
Entering Basic Information for a Repository
Entering Basic Information of a New Repository
Enter Basic Information for Imported Repositories
Configuring Repository Settings
Configuring Repository Policies
Configuring Protected Branch Rules
Configuring Protected Tag Rules
Configuring Push Permissions
Configuring Code Commit Rules
Configuring Repository-Level Merge Request Rules
Configuring Review Comment Rules
Merge Request Evaluation
Configuring the Repository Settings
Configuring Repository Information
Configuring the Repository Settings
Configuring Repository Synchronization
Setting Submodule
Backing Up a Repository
Synchronizing a Repository
Using Merge Request Pre-merging
Repository Integration with Other Services
E2E Settings
Webhook Settings
Configuring a Repository-Level Merge Request Template
Viewing Activities
Viewing Repository Statistics
Managing the Notification Configurations
System Messages
Configuring System Messages
Configuring Email Notifications
Configuring WeCom Notifications
Configuring Third-Party Messages
WeCom Group Chatbot
DingTalk Group Chatbot
Feishu Group Chatbot
Hierarchical Repository Management
Creating a Repository Group
Using Repository Groups
Managing Repository Group Members
Managing Repository Group Members
Viewing the Repository Group List
Viewing Repository Group Details
Viewing the Repository Group Homepage
Managing Repository Groups
Repository Group Information
Configuring Repository Settings in a Repository Group
Configuring Policy Settings for a Repository Group
Configuring Protected Branch Rules for a Repository Group
Configuring Protected Tags for a Repository Group
Configuring Commit Rules for a Repository Group
Configuring Merge Request Rules for a Repository Group
Repository Group Integration with Other Services
E2E Settings
Webhooks
Configuring the Merge Request Template of a Repository Group
Risky Operations
Viewing Repository Information
Viewing the Repository List
Viewing Repository Details
Viewing Repository Homepage
Cloning or Downloading a Repository to a Local PC
Differences Between Cloning and Downloading a Repository
Using the SSH Key to Clone a Repo to a Local PC
Using HTTPS to Clone a Repo to a Local Computer
Using a Browser to Download Code Package to a Local PC
Uploading Code Files to CodeArts Repo
Editing and Creating a Merge Request
Creating a Branch and Developing Code in Git Bash
Committing Code in Eclipse and Creating a Merge Request
Using git-crypt to Transmit Sensitive Data on the Git Client
Viewing Commit History
Collaborating on a Workflow
Workflow Overview
Working on a Centralized Workflow
GitFlow
Feature Branch Workflow
Committing Code to CodeArts Repo and Managing a Merge Request
Resolving Review Comments and Merging Code
Creating a Squash Merge
Resolving Code Conflicts in an MR
Detailed Description of Review Comments Gate
Managing Code Files
Managing Files
Managing Commits
Managing Branches
Managing Tags
Managing Comparison
Security Management
Configuring a Deploy Key for a Repository
Risky Operations on Repositories
Adding a Watermark to a Repository
Locking a Repository
Configuring an IP Whitelist
Audit Logs
Repository Audit Logs
CTS Audit Logs
Adjusting Repository Visibility
Best Practices
CodeArts Repo Best Practices
Managing Repository Members and Permissions in an Enterprise
Migrating GitLab Intranet Repositories to CodeArts Repo in Batches
Importing Local Repositories to CodeArts Repo in Batches
CodeArts Repo Security Configuration Overview
Configuring HTTPS Password
Best Practices for Configuring Protected Branch Rules
Overview
Steps
FAQs
Authentication
TLS Handshake Fails and the Error Message "ssl handshake failure" Is Displayed
Upgrading the SSH Function of CodeArts Repo
How Can I Set Multiple SSH Keys on My Computer?
Member Permissions
How Do I Quickly Add Members to All Code Repositories?
Uploading and Downloading Code
"Error: Deny by project hooks setting 'default': message of commit" Is Reported When Code Repository Is Pushed from the Local Host to CodeArts Repo
Pushing Binary Files to CodeArts Repo Failed
Error "'origin' does not appear to be a git repository..." Is Reported When the Git Push Command Is Executed
Error "The requested URL returned error: 401" Is Reported When HTTPS Is Used to Clone Code in CentOS
Error "Merge branch 'master' of https://test.com Please Enter a commit" Is Reported When Pulling Code Using the Git Pull Command
Message "fatal: refusing to merge unrelated histories" Is Displayed
How Do I Prevent Files Containing Secrets from Being Pushed to CodeArts Repo?
Migrating Repositories
When a Git-based Remote Repository Is Imported to CodeArts Repo, an Error Message "Accessing the remote repository timed out. Check the network." Is Displayed.
How Do I Migrate a Gitee Repo?
How Do I Migrate a GitLab Repo?
How Do I Migrate a Codeup Repo?
How Do I Migrate a Coding Repo?
Merge Request
Why Is a Message Displayed Indicating Not Authorized When Merging an MR?
Error "failed to push some refs to '....git'" Is Reported When the Merge Request Is Committed Locally
How Do I Resolve Local Code File Conflicts?
Fork Sync
How Do I Sync Code from a Primary Database to a Derived Database Generated by Fork?
Repository Capacity
Insufficient Remaining Repository Capacity
FAQs
API Reference
Before You Start
API Overview
Calling APIs
Making an API Request
Authentication
Response
APIs
V4
WebHook
Obtaining the Log Lists of Specified Webhooks in Repositories
Obtaining Details About Specified Logs of Specified Webhooks in Repositories
Obtaining the Log Lists of Specified Webhooks in Projects
Obtaining the Details of Specified Logs of Specified Webhooks in Projects
Obtaining the Log Lists of Specified Webhooks in Repository Groups
Obtaining the Details of Specified Logs of Specified Webhooks in Repository Groups
Obtaining the Webhook List of a Repository Group
Adding a Webhook in a Repository
Obtaining a Webhook in a Repository Group
Updating a Webhook in a Repository Group
Deleting a Webhook from a Repository Group
Obtaining the Webhook List Under a Project
Adding Webhooks to a Project
Obtaining a Webhook Under a Project
Updating a Webhook Under a Project
Deleting a Webhook from a Project
Obtaining the Webhook List Under a Repository
Adding a Webhook in a Repository
Obtaining a Webhook in a Repository.
Updating a Webhook in a Repository.
Deleting a Webhook in a Repository
Repository
Associating a Repository with a Member Group
Locking a Repository
Unlocking a Repository
Obtaining Repository IP Address Whitelist
Adding Repository IP Address Whitelist
Modifying Repository IP Address Whitelist
Deleting Repository IP Address Whitelist
Downloading A Repository
Obtaining the Submodule List of a Specified Branch or Tag in a Repository
Creating a Submodule
Obtaining the File Content
Obtaining the Commit Statistics of a Specified Branch of a Repository
Obtaining Statistics on the Default Branch Language of a Repository
Obtaining Repository Dynamics
Comparing Branches, Tags, and Commits
Querying Commit File Content by Line
Obtaining Repository Notification Settings
Modifying Repository Notification Settings
Obtaining the Status of Repository Notification Switch Settings
Obtaining the Status of a Repository Statistics Task
Deleting a Deploy Key from a Repository
Starting Repository Image Synchronization
Obtaining Repository Image Details
Triggering the Repository Statistics Task
Creating a Repository System Tag
Obtaining a Repository Tag List
Creating a Repository Tag
Modifying a Repository Tag
Deleting a Repository Tag
Viewing the Source of Repository Inheritance Settings
Creating a Directory in a Specified Branch
Obtaining the Repository Contributor List
Viewing Repository Inheritance Settings
Modifying Repository Inheritance Settings
Associating a Common Repository with a Remote Image
Viewing the General Policies of a Repository
Modifying the General Policies of a Repository
Viewing the General Commit Rules of the Repository
Modifying the Common Commit Rules of a Repository
Creating a Repository Commit Rule
Viewing Repository Commit Rules
Modifying a Repository Commit Rule
Viewing the Repository Import Task List of the Current User
Obtaining the Latest Push Event of a Repository
Obtaining Repository Statistics Summary
Obtaining the Branch-Level or Tag-Level Permissions of a CR Repository User
Freeing Up the Repository Space
Synchronizing the Repository Deploy Key to the Sub-repository
Deleting the Deploy Key of a Sub-repository
Obtaining Repository Watermark Settings
Updating Repository Watermark Settings
Querying the Details About a Repository
Obtaining the Repository of the Current Login User
Obtaining Fork List of a Repository
Checking Repository Names in Batches
Obtaining the Repository List of a Project
Obtaining the Repository List in a Repository Group
Obtaining the Repository Statistics Overview
Obtaining the Latest Commit Statistics for a Repository
Obtaining the Latest Commit Activities of the Current User
Template Repository List
Updating Repository Mirror Information
ProtectedRefs
Creating Protected Tags in Batches in a Repository
Obtaining a Protected Tag List in a Repository
Updating Protected Tags in Batches in a Repository
Deleting Protected Tags in Batches in a Repository
Obtaining a Protected Tag
Updating a Protected Tag in a Repository
Deleting a Protected Tag
Creating Protected Branches in Batches in a Repository
Obtaining the Protected Branch List
Updating Protected Branches in Batches in a Repository
Deleting Protected Branches in Batches in a Repository
Obtaining a Protected Branch
Protected Branch
Deleting a Protected Branch
Obtaining the List of Protected Branches in a Project
Creating a Protected Branch in a Project
Creating a Protection Tag for a Project
Obtaining the Details of a Protected Tag of a Specified Project
FilePushPermission
Deleting the Push Permission of Repository Files in Batches
Permission
Obtaining the Permission List for Pushing Repository Files
Updating the Push Permissions of Repository Files in Batches
Creating Repository File Push Permissions
Querying the Repository Permission Matrix Configuration
Updating the Repository Permission Matrix Configuration
Updating the Code Group Permission Matrix Configurations
Updating the Repository Permission Inheritance Configuration
Querying Repository Permission Configurations
Project
Obtaining Project Watermark Settings
Updating Project Watermark Settings
Obtaining the List of Repository Groups and Repositories in a Project
Obtaining the Permission Matrix of a Specified Permission Resource in the Code Group
Obtaining Project Inheritance Settings
Updating Project Inheritance Settings
Obtaining Project Member Settings
Obtaining Basic Settings of a Specified Project
Updating Basic Settings of a Project
Obtaining the Basic Settings of a Specified Project
Obtaining Commit Information Associated with a Work Item
ThirdParty
Verifying Whether the Deploy Key Is Configured in the Upper-Layer Repository Group or Project
Checking Whether the Deploy Key of the Repository Group Is Configured in the Upper-Layer Repository Group or Project
Obtaining the List of Deployment Keys in a Repository
Obtaining the Deployment Key List of a Repository Group
Obtaining the Deployment Key List of a Project
Obtaining the List of Associated Work Items of a Specified Branch in a Repository
Obtaining the Work Item List in a Repository
Obtaining E2E Settings in a Repository
Obtaining E2E Settings in a Repository Group
Obtaining E2E Settings of a Project
Tenant
Obtaining the Tenant Repository List
Tenant repository list
Obtaining the IP Address Whitelist of a Tenant
Adding a Tenant IP Address Whitelist
Modifying the IP Address Whitelist of a Tenant
Deleting a Tenant IP Address Whitelist
Group
Obtaining the List of Repository Groups That the Current User Has Management Permissions for in a Project
Obtaining the Repository Group List
Obtaining the List of Members That Can Be Added to a Repository Group
Obtaining the List of Members That Can Be Added to a Repository Group
Obtaining the Member Groups That Can Be Added to a Repository Group
Obtaining the Lists of Sub-Repository Groups and Repositories in a Repository Group
Obtaining the Inheritance Settings of a Repository Group
Creating a Repository Group
Transferring a Repository Group
Obtaining Repository Group Information
Deleting a Repository Group
Associating a Repository Group with a Member Group
Obtaining the Inheritance Settings of a Repository Group
Obtaining the Inheritance Permission Setting Switch of a Repository Group
Obtaining Basic Settings of a Specified Repository Group
Obtain the List of Repository Group Permission Resource Points.
Obtaining the Watermark Settings of a Repository Group
Updating the Watermark Settings of a Repository Group
Obtaining the Inheritance Configuration Items of a Repository Group
Updating the Basic Settings of a Repository Group
Obtaining Basic Settings of a Specified Repository Group
Querying the Member Group List Under an Organization
Member
Obtaining the Member Group List of a Repository
Obtaining the Member Group List of a Repository Group
Obtaining the Member Group List of a Project
Obtaining the Member List in a Project
Obtaining the Member Group List
Obtaining the Repository Member List
Adding Repository Members in Batches
User
Obtaining the HTTPS Authentication Mode
Changing the HTTPS Authentication Mode
Adding an SSH Public Key
Deleting an SSH Public Key
Obtaining the Personal Access Token of a User
Obtaining Permissions in the Repository Group List Specified by the Current User
Obtaining the gpg_key List of the Current User
Obtaining the Key List of the Current User
Sending Email Verification Code
Updating an Email Address
Obtaining User Email Information
MergeRequest
Obtaining the Latest Pipeline Associated with a Merge Request
Obtaining the Merge Request Score
Updating the Merge Request Score
Deleting a Merge Request Score
Obtaining MR Details
Updating a Merge Request
Obtaining the Status of a Merge Request
Merging a Merge Request
Obtaining the MR List of a Repository
Creating a Merge Request
Obtaining Repository Merge Request Statistics
Obtaining MR Approving Setting List
Creating MR Approving Settings
Updating MR Approving Settings
Deleting MR Approving Configurations
Obtaining the Merge Request Commit List
Obtaining the File Change Tree of a Merge Request
Obtaining the Merge Request File Change List
Obtaining the MR Associated with the Commit
Obtaining the MR list on the homepage
Obtain the Merge Request Participant
Importing a Merge Request
Obtaining Branch Code Conflicts
Updating the Repository Merge Request Settings
Obtaining Merge Request Settings
Obtaining Repository Group MR Settings
Obtaining Project MR Settings
Creating a Merge Request Template
Obtaining the Merge Request Template List
Obtaining the Review Comment Template List
Updating a Merge Request Template
Obtaining a Single Merge Request Template
Deleting a Merge Request Template
Obtaining Repository Group MR Approving Setting List
Creating Repository Group MR Approving Settings
Obtaining Project MR Approving Settings List
Creating Project MR Approving Settings
Updating Repository Group MR Approving Settings
Deleting Repository Group MR Approving Configurations
Updating Project MR Approving Settings
Deleting Project MR Approving Configurations
Obtaining Repository Group Approvers or Mergers
Obtaining Project Approvers or Mergers
Obtaining Repository Group Reviewers
Obtaining Project Reviewers
Obtaining the Merge Request Approver List
Obtaining the Merge Request Reviewer List
Updating the Approver List of a Merge Request
Updating the Reviewer List of a Merge Request
Approving a Merge Request
Reviewing a Merge Request
Obtaining Selectable MR Reviewers
Rebasing a Merge Request
Resolving Merge Request Conflicts Online
Obtaining All Conflict Files
Obtaining the Average Rating of a Merge Request
Obtaining the Merge Request Review Evaluation List
Obtaining the Review Comments of a Single File on the Merge Request File Change Page.
Obtaining the Review Comments of a Single Submitted File on a Code Page
Creating a Merge Request Template of a Repository Group
Obtaining the Merge Request Template List of a Repository Group
Updating a Merge Request Template for a Repository Group
Delete the merge request template of a repository group.
Creating a Project Merge Request Template
Obtaining the Merge Request Template List of a Project
Updating a Project Merge Request Template
Deleting a Project Merge Request Template
Obtaining the List of File Change History Versions
Cherry-Picking a Merge Request
Obtaining the Project MR List
Discussion
Obtaining Merge Request Review Comments Based on discussion_id
Updating Information Except Comments in the Merge Request's Review Comments
Obtaining the Repository Review Comment List
Creating Merge Request Review Comments
Obtaining the Review Comment List
Obtaining the Merge Request Activities List
Obtaining the List of Review Comments for a Single Commit on a Code Page
Replying to Merge Request Review Comments
Updating Merge Request Review Comments
Deleting Merge Request Review Comments
Obtaining the Reviewer List of Review Comments in the Repository
Creating/Updating Review Comments Settings
Obtaining Review Settings
Obtaining Default Review Comment Types
Creating or Updating Repository Group Review Comment Settings (Excluding Mandatory Items)
Obtaining Repository Group Review Comment Settings (Excluding Mandatory Items)
Creating or Updating Project Review Comment Settings (Excluding Mandatory Items)
Obtaining Project Review Comment Settings (Excluding Mandatory Items)
Creating or Updating Mandatory Items for Repository Group Review Comments
Obtaining Mandatory Items of Repository Group Review Comments
Creating or Updating Mandatory Items for Project Review Comments
Obtaining Mandatory Items of Project Review Comments
Obtaining Mandatory Items for Repository Review Comments
Obtaining Mandatory Items for Repository Review Comments
Commit
Viewing the Commit List
Rolling Back a Commit
Obtaining the File Change Metadata Introduced by Commit
Querying Branches and Tags by Commit ID
Obtaining the Change Content of a Specified File Introduced by a Commit
Creating Commit Information
Obtaining Specific Commit Information
Obtaining Commit Differences
File
Viewing the Branch File List
Viewing the File Tree
Obtaining the Content of a Single File in the Repository (Downloading a Single File)
Obtaining the List of All Files in a Specified Branch
Obtaining the File Content
Obtaining File Tracing Information
Obtaining the Upper-level Tree Structure of the Current File
Renaming a File
Obtaining the Content of a Single Repository File
Creating a File
Obtaining the Readme File Content of the Default Branch of the Repository
Viewing File Attributes and Content
Deleting a File
Updating a File
Pipeline
Obtaining the Latest Task Associated with CodeArts Pipeline
Obtaining the List of Tasks Associated with CodeArts Pipeline
Refs
Deleting Branches in Batches
Viewing the Branch/Tag List
Obtaining the Branch List
Creating a Branch
Obtaining the Tag List
Creating a Tag
Viewing Tag Details
Deleting a Tag
Obtaining Branch Details
Deleting a Branch
Renaming a Branch
SSH Key
Checking Whether a Private Key Can Be Used to Pull Code
Repository
Obtaining Repository Statistics
Obtaining Image Files of a Specific Branch in a Repository
Modifying the Status of a Repository Referenced by a Pipeline
Checking Whether a User Has the Repository Administrator Permission
Setting a Repository to Public or Private
Obtaining the Content of a Specified File in a Specified Branch of a Repository
Creating a Repository
Obtaining the Repository ID Based on the Repository Name and Group Name
Querying a Commit of a Branch by Repository or Repository Group Name
Querying the Commit List of a Branch Based on the Repository ID
Adding a Deploy Key
Deleting a Deploy Key
Obtaining the Last Commit Statistics of a Repository
Repository Statistics
Deleting a Repository
Viewing a Repository Creation Status
Obtaining the Number of Committed Code Lines
Obtaining Associated Work Item Information
Project (V2)
Creating a Project and Repository
Creating a Project and Forked Repository
Querying All Repositories in a Project
Querying Repositories in a Project of Your Current Account
Associating Work Items with a Branch
RepoMember
Deleting a Repository Member
Commit
Querying a Commit Message of a Repository
File
Querying a File in a Repository
User
Verifying HTTPS Account and Password
Project
Obtaining the List of Repositories that Can be Set to Public Under a Project
Obtaining Information About All Repositories in a Project
Verifying a Repository Name of a Specified Project
Actions Supported by Identity Policy-based Authorization
Application Examples
Example 1: Querying All Repositories of a User
Appendix
Status Codes
Error Codes
Obtaining a Project ID
Obtaining a CodeArts Project ID
Obtaining an IAM Project ID
Obtaining an Account ID
Language Type of the Gitignore File Template
Historical APIs
SSH Key
Adding an SSH Key (Deprecated)
Obtaining the SSH Key List (Deprecated)
Deleting a User Public Key (Deprecated)
Adding a Hook to a Specified Repository
Obtaining Files in a Branch Directory (Deprecated)
Obtaining Reviewer Information Based on the Repo Short ID and Merge Request Short ID (Deprecated)
Querying Branches of a Repository (Deprecated)
Creating a Tag(Deprecated)
Querying the Tag List of a Repository (Deprecated)
Downloading a Repository
Deleting a Protected Branch (Deprecated)
Deleting Protected Branches in Batches (Deprecated)
Obtaining the Repository Branch List (Deprecated)
Obtaining the List of Changed Files (Deprecated)
Associating a Repository Group with a Member Group (Deprecated)
Setting a Repository to Public or Private (Deprecated)
Obtaining the List of Public Sample Templates (Deprecated)
Adding a Deployment Key (Deprecated)
Deleting a Repository Deployment Key (Deprecated)
Querying a Repository in a Project (Deprecated)
Obtaining the Number of Code Commits (Deprecated)
Approving an MR (Deprecated)
Obtaining MR Details of a Repository
Obtaining the Merge Request List (Deprecated)
Deleting a Protected Tag (Deprecated)
Creating a Protected Tag (Deprecated)
Creating a Protected Branch (Deprecated)
Querying Details About a Repository (Deprecated)
Obtaining the List of Public Sample Templates (Deprecated)
Commit
Querying a Specific Commit of a Repository (Deprecated)
Querying the Commit Difference Information of a Repository (Deprecated)
Creating a Commit (Deprecated)
Webhook
Deleting a Webhook of a Specified Repository (Deprecated)
Adding a Webhook to a Specified Repository (Deprecated)
Querying a Webhook of a Specified Repository (Deprecated)
RepoMember
Obtaining All Member Records in a Repository (Deprecated)
Setting a Role for a Member in the Repository
Adding a Repository Member (Deprecated)
Verifying the Repository Name of a Specified Project
Verifying HTTPS Account and Password (Deprecated)
Create branches
Obtaining the List of Repositories that Can Be Set to Public in a Project (Deprecated)
Obtaining Information About All Repositories in a Project (Deprecated)
Querying All Repositories of a User
File
Querying File Information of a Repository (Deprecated)
Repository Management (V2)
Creating a Branch
Review
Creating MR Review Comments (Deprecated)
Obtaining a Review List (Deprecated)
Replying to MR Review Comments (Deprecated)
Obtaining Review Settings (Deprecated)
Group
Querying Repository Groups with Create Permission in a Project
Videos
More Documents
User Guide (Ally Region)
Service Overview
What Is CodeArts Repo?
Advantages
Use Cases
Functions
Principle
Workflow Principles
Code Storage Principles
Permission Management
Glossary
Getting Started
Coding in Java for a Scrum Project
Configuring CodeArts Repo Policies by Administrator
User Guide
Process of CodeArts Repo
Environment and Personal Settings
Installing and Configuring Git
Configuring an SSH Key
Configuring an HTTPS Password
Configuring an Access Token
Configuring a GPG Public Key
Configuring Git LFS
Clearing the Repository Memory
Accessing CodeArts Repo Homepage
Configuring Project-Level Settings for CodeArts Repo
Configuring Project-Level Repository Settings
Configuring Protected Branch Rules
Configuring Protected Tag Rules
Configuring Commit Rules
Configuring Project-Level Merge Request Rules
E2E Settings
Configuring Webhook Settings
Configuring Merge Request Templates
Managing Member Permissions
IAM Users, Project Members, and Repository Members
Configuring Project-Level Permissions
Configuring a Repository Group's Permissions
Configuring Repo-Level Permissions
Syncing Project Members to CodeArts Repo
Creating a Repository
Creating Repos in Different Scenarios
Prerequisites for Creating a Repository
Creating a Custom Repository
Creating a Repository Using a Template
Forking a Repository
Migrating Code and Syncing a Repository
Repository Migration Overview
Obtaining an Access Token
Obtaining an Access Token from GitHub
Obtaining an Access Token from GitLab
Obtaining an Access Token from Gitee
Obtaining an Access Token from Coding
Obtaining an Access Token from Codeup
Obtaining a Password from Bitbucket
Migrating a Third-Party Git Repository to CodeArts Repo
Migrating a Git Repository Using a URL
Importing a Local Git Repository to CodeArts Repo
Migrating an SVN Code Repository
Syncing Repo Settings
Verifying the Import Permission
Entering Basic Information for a Repository
Entering Basic Information of a New Repository
Enter Basic Information for Imported Repositories
Configuring Repository Settings
Configuring Repository Policies
Configuring Protected Branch Rules
Configuring Protected Tag Rules
Configuring Push Permissions
Configuring Code Commit Rules
Configuring Repository-Level Merge Request Rules
Configuring Review Comment Rules
Merge Request Evaluation
Configuring the Repository Settings
Configuring Repository Information
Configuring the Repository Settings
Configuring Repository Synchronization
Setting Submodule
Backing Up a Repository
Synchronizing a Repository
Using Merge Request Pre-merging
Repository Integration with Other Services
E2E Settings
Webhook Settings
Configuring a Repository-Level Merge Request Template
Viewing Activities
Viewing Repository Statistics
Managing the Notification Configurations
System Messages
Configuring System Messages
Configuring Email Notifications
Configuring WeCom Notifications
Configuring Third-Party Messages
WeCom Group Chatbot
DingTalk Group Chatbot
Feishu Group Chatbot
Hierarchical Repository Management
Creating a Repository Group
Using Repository Groups
Managing Repository Group Members
Managing Repository Group Members
Viewing the Repository Group List
Viewing Repository Group Details
Viewing the Repository Group Homepage
Managing Repository Groups
Repository Group Information
Configuring Repository Settings in a Repository Group
Configuring Policy Settings for a Repository Group
Configuring Protected Branch Rules for a Repository Group
Configuring Protected Tags for a Repository Group
Configuring Commit Rules for a Repository Group
Configuring Merge Request Rules for a Repository Group
Repository Group Integration with Other Services
E2E Settings
Webhooks
Configuring the Merge Request Template of a Repository Group
Risky Operations
Viewing Repository Information
Viewing the Repository List
Viewing Repository Details
Viewing Repository Homepage
Cloning or Downloading a Repository to a Local PC
Differences Between Cloning and Downloading a Repository
Using the SSH Key to Clone a Repo to a Local PC
Using HTTPS to Clone a Repo to a Local Computer
Using a Browser to Download Code Package to a Local PC
Uploading Code Files to CodeArts Repo
Editing and Creating a Merge Request
Creating a Branch and Developing Code in Git Bash
Committing Code in Eclipse and Creating a Merge Request
Using git-crypt to Transmit Sensitive Data on the Git Client
Viewing Commit History
Collaborating on a Workflow
Workflow Overview
Working on a Centralized Workflow
GitFlow
Feature Branch Workflow
Committing Code to CodeArts Repo and Managing a Merge Request
Resolving Review Comments and Merging Code
Creating a Squash Merge
Resolving Code Conflicts in an MR
Detailed Description of Review Comments Gate
Managing Code Files
Managing Files
Managing Commits
Managing Branches
Managing Tags
Managing Comparison
Security Management
Configuring a Deploy Key for a Repository
Risky Operations on Repositories
Adding a Watermark to a Repository
Locking a Repository
Configuring an IP Whitelist
Audit Logs
Repository Audit Logs
CTS Audit Logs
FAQs
Authentication
TLS Handshake Fails and the Error Message "ssl handshake failure" Is Displayed
Why Am I Prompted to Upgrade My SSH Feature?
How Can I Set Multiple SSH Keys on My Computer?
Uploading and Downloading Code
"Error: Deny by project hooks setting 'default': message of commit" Is Reported When Code Repository Is Pushed from the Local Host to CodeArts Repo
Error "'origin' does not appear to be a git repository..." Is Reported When the Git Push Command Is Executed
Error "The requested URL returned error: 401" Is Reported When HTTPS Is Used to Clone Code in CentOS
Error "Merge branch 'master' of https://test.com Please Enter a commit" Is Reported When Pulling Code Using the Git Pull Command
Client Disconnects When a File Is Pushed
Message "fatal: refusing to merge unrelated histories" Is Displayed
How Do I Prevent Files Containing Secrets from Being Pushed to CodeArts Repo?
What Do I Do If the Error Message Indicating Download Timeout and Please Use SSH or HTTP Clone Is Displayed When I Download a Repository from CodeArts Repo?
Migrating Repositories
Why Am I Asked to Check the Network When Importing a Remote Git Repo Timed Out?
Merge Request
Why Is a Message Displayed Indicating Not Authorized When Merging an MR?
Error "failed to push some refs to '....git'" Is Reported When the Merge Request Is Committed Locally
How Do I Resolve Local Code File Conflicts?
The Merge Button Is Grayed Out When a Merge Request Is Integrated
Fork Sync
How Do I Sync Code from a Primary Database to a Derived Database Generated by Fork?
Repository Capacity
Insufficient Remaining Repository Capacity
FAQs
API Reference (Ally Region)
Before You Start
Overview
Calling Method
Endpoints
Concepts
Calling APIs
Making an API Request
Authentication
Response
APIs
SSHKey
Obtaining an SSH Key List
Adding an SSH Key
Checking Whether a Private Key Can Be Used to Pull Code
Repository
Obtaining Files in a Branch Directory
Obtaining Repository Statistics
Obtaining Image Files of a Specific Branch in a Repository
Modifying the Status of a Repository Referenced by a Pipeline
Checking Whether a User Has the Repository Administrator Permission
Setting a Repository to Public or Private
Obtaining the Content of a Specified File in a Specified Branch of a Repository
Obtaining a Public Template List
Creating a Repository
Obtaining a Repository Short ID Based on the Repository or Repository Group Name to Combine the URL of the Commit Details Page Corresponding to the Commit ID
Querying a Commit of a Branch by Repository or Repository Group Name
Querying Branches of a Specified Repository
Querying a Commit of a Repository Branch by the Repository ID
Adding a Deploy Key
Deleting a Deploy Key
Obtaining the Last Commit Statistics of a Repository
Repository Statistics
Deleting a Repository
Viewing a Repository Creation Status
Querying a Tag List of a Repository
Adding a Tag
Querying Details About a Repository
Obtaining the number of committed code lines
Downloading a Repository
Creating a Protected Branch
Deleting a Protected Branch
Deleting Protected Branches in Batches
Creating a Protected Tag
Deleting a Protected Tag
Obtaining a Repository Branch List
Obtaining an MR List of a Repository
Obtaining MR Details of a Repository
Project (V2)
Querying All Repositories of a User
Creating a Project and Repository
Creating a Project and Forking a Repository
Querying All Repositories in a Project
Repository Member
Obtaining All Member Records in a Repository
Adding a Repository Member
Setting a Role for a Member in the Repository
Deleting a Repository Member
Commit
Querying a Commit Message of a Repository
Creating a Commit
Querying a Specific Commit of a Repository
Querying the Commit Difference Information of a Repository
File
Querying a Files in a Repository
User
Verifying HTTPS Account and Password
Webhook
Querying a Webhook of a Specified Repository
Adding a Hook to a Specified Repository
Deleting the Hook of a Specified Repository
Project
Obtaining the List of Repositories that Can be Set to Public under a Project
Obtaining Information About All Repositories in a Project
Verifying a Repository Name of a Specified Project
Repository Management (V2)
Creating a Branch
Review
Creating an MR Review
Replying to an MR Review
Obtaining Review Settings
Application Examples
Example 1: Querying All Repositories of a User
Example 2: Querying Details About a Specified Repository by Repository UUID
Example 3: Querying Branches of a Repository
Appendix
Status Codes
Error Codes
Obtaining a Project ID
Obtaining an Account ID
General Reference
Glossary
Shared Responsibilities
Service Level Agreement
White Papers
Endpoints
Permissions