Skip to main content
Cloud Code includes full Git support, allowing you to use Git for version control of your project content.

Configure Git User Information

You need to configure your user information the first time you use it:
1

Open Settings

Go to Settings > Git
2

Fill in Information

Enter your username and email
3

Save

Click the save button
Username: Your Name
Email: your.email@example.com
This information is used for Git commit records. We recommend using the same email address as your GitHub account.
Git user information configuration

Connect a Remote Repository

Configure GitHub Credentials

1

Open Git Settings

Go to Settings > Git
2

Add Credentials

In the “Git Credentials” section, click the + Add button
3

Enter Username

Enter your GitHub Username
4

Enter Token

Enter your GitHub Personal Access Token (click the Create Tokens button in the upper-right corner of the input field and follow the prompts to create one)
5

Click Save

Click the Save Credentials button
If the configuration is successful, you will see your credential information displayed in the “Git Credentials” section, marked as “Active”.
Git credentials configuration

Initialize a Git Repository

1

Open the Git Panel

Click the Source Control tab in the top tab bar
2

Create a Repository

Create a new empty repository on GitHub
3

Initialize

Enter the remote repository URL and click the Bind button to complete Git repository initialization
After initialization succeeds, you will see the following interface displayed on the “Source Control” page:
Git repository list

Commit Changes

1

Stage Files

Click the + button next to a file to stage a single file, or click Stage All to stage all changes
2

Write a Commit Message

Describe your changes in the commit message input field
3

Commit

Click the Commit button to commit your changes to the local repository
4

Publish

Click the Publish button to publish your changes to the remote repository

View History

You can view the commit history in the Git panel:
  • Commit List — Displays all commit records
  • Commit Details — Click a commit to view the changed files
  • File Diff — View specific code changes
Git repository commit history

Operate Git with Claude Code

You can ask Claude Code to help you perform Git operations:
RequestClaude Code Action
”Commit these changes”Stage files and create a commit
”Push to GitHub”Run git push
”Create a new branch feature/login”Create and switch to the branch
”View commit history”Display git log
”Roll back to the previous commit”Run git reset

Project Management

Manage project information

Chat Mode

In Chat Mode, you can ask Claude Code to help you complete tasks through a dialog box.