create_or_update_file
Create or update files in a Gitee repository by specifying content, path, and commit message. Manage branches and track changes efficiently.
Instructions
在 Gitee 仓库中创建或更新文件
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branch | No | Branch name, defaults to the repository's default branch | |
content | Yes | File content | |
message | Yes | Commit message | |
owner | Yes | Repository owner path (enterprise, organization, or personal path) | |
path | Yes | File path | |
repo | Yes | Repository path | |
sha | No | File SHA, required when updating an existing file |