push_files
Submit multiple files to a Gitee repository by specifying the owner, repository, branch, commit message, and file details in one operation.
Instructions
向 Gitee 仓库提交多个文件
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branch | No | Branch name, defaults to the repository's default branch | |
files | Yes | List of files to commit | |
message | Yes | Commit message | |
owner | Yes | Repository owner path (enterprise, organization, or personal path) | |
repo | Yes | Repository path |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"branch": {
"description": "Branch name, defaults to the repository's default branch",
"type": "string"
},
"files": {
"description": "List of files to commit",
"items": {
"additionalProperties": false,
"properties": {
"content": {
"description": "File content",
"type": "string"
},
"path": {
"description": "File path",
"type": "string"
}
},
"required": [
"path",
"content"
],
"type": "object"
},
"type": "array"
},
"message": {
"description": "Commit message",
"type": "string"
},
"owner": {
"description": "Repository owner path (enterprise, organization, or personal path)",
"type": "string"
},
"repo": {
"description": "Repository path",
"type": "string"
}
},
"required": [
"owner",
"repo",
"message",
"files"
],
"type": "object"
}