Skip to main content
Glama

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

NameRequiredDescriptionDefault
project_idYesProject ID or complete URL-encoded path to project
branchYesBranch to push to
filesYesArray of files to push
commit_messageYesCommit message

Input Schema (JSON Schema)

{ "properties": { "branch": { "description": "Branch to push to", "type": "string" }, "commit_message": { "description": "Commit message", "type": "string" }, "files": { "description": "Array of files to push", "items": { "additionalProperties": false, "properties": { "content": { "description": "Content of the file", "type": "string" }, "file_path": { "description": "Path where to create the file", "type": "string" } }, "required": [ "file_path", "content" ], "type": "object" }, "type": "array" }, "project_id": { "description": "Project ID or complete URL-encoded path to project", "type": "string" } }, "required": [ "project_id", "branch", "files", "commit_message" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/harshmaur/gitlab-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server