The content of this page has been automatically translated by AI. If you encounter any problems while reading, you can view the corresponding content in Chinese.
This document describes how to create a Git code repository.
Open Project
1. Log in to the CODING console and click the team domain name to enter the CODING page.
2. Click Projects on the left side of the team homepage to enter the project list page, then select the target project.
3. In the menu on the left, select Code Repositories to enter the code repository homepage.
Manual Repository Creation
1. Log in to the team, then click Code Repositories on the left side of the homepage and click Create Code Repository.
2. Code repositories cannot exist independently and must belong to a project. One project can correspond to multiple code repositories.
3. Select Git as the repository type and enter a valid repository name.
4. When creating a code repository, you can also choose whether to enable repository standards to quickly establish the team development workflow.
Template Creation
CODING provides several preset code repository modules with development frameworks to help you quickly experience how code repositories work with continuous integration or artifacts.
Import an External Repository
You can quickly migrate open-source Git repositories or repositories from other platforms to the CODING DevOps platform. For details, see Import or Associate External Repository.
Git Repository Initialization
After creating a repository, you can initialize it in four ways.
Import an External Repository
Enter the Git repository address for import to complete the initialization.
Quick Repository Initialization
This method completes the initialization by generating a README.md file.
Creating a Repository Using Command Line
This method essentially generates a README.md file in the local repository and then uploads it to the remote repository for initialization.
Pushing Local Repository Using Command Line
You can also directly upload a locally initialized repository to the remote repository.