Update Code Repository
Edit Code Files
The platform supports two methods for editing files in a code repository:
Local Git Editing
Clone the repository locally, edit with any code editor, then commit and push:
git clone https://<platform-host>/<namespace>/<code-repo-name>
cd <code-repo-name>
# After editing files
git add .
git commit -m "Update code files"
git push origin main
Web Online Editing
- Navigate to the code repository detail page and click the Files tab.
- Click on the file name you want to edit to open the file viewer.
- Click the edit button to enter online editing mode.
- After making changes, enter a commit message and save.
Modify Repository Settings
Navigate to the code repository detail page and click the Settings tab to modify the following:
| Setting | Modifiable | Description |
|---|---|---|
| Code Repository Path | No | Cannot be changed after creation |
| Nickname | Yes | Click Update Nickname to save changes |
| Description | Yes | Click Update Description to save changes |
| Visibility | Yes | Switch between Public and Private; requires confirmation |
Delete Code Repository
- Navigate to the code repository detail page and click the Settings tab.
- Scroll to the Delete section at the bottom of the page.
- Type the full repository path (
<namespace>/<repo-name>) to confirm deletion. - Click the Delete button.
Note
Deletion is irreversible. The code repository and all its files, commit history will be permanently removed. Please proceed with caution.