push_files
Push multiple files to a GitLab project in a single commit, allowing you to batch file updates with one commit message for efficient repository management.
Instructions
Push multiple files to a GitLab project in a single commit
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID or complete URL-encoded path to project | |
| branch | Yes | Branch to push to | |
| files | Yes | Array of files to push | |
| commit_message | Yes | Commit message |
Implementation Reference
- schemas.ts:818-829 (schema)Zod input schema for the 'push_files' tool, defining parameters for pushing multiple files to a GitLab project: project_id, branch, array of {file_path, content}, and commit_message.export const PushFilesSchema = ProjectParamsSchema.extend({ branch: z.string().describe("Branch to push to"), files: z .array( z.object({ file_path: z.string().describe("Path where to create the file"), content: z.string().describe("Content of the file"), }) ) .describe("Array of files to push"), commit_message: z.string().describe("Commit message"), });