create_or_update_file
Create or update a file in a GitLab project using project ID, file path, content, commit message, and branch.
Instructions
Create or update a file in a GitLab project
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID or complete URL-encoded path to project | |
| file_path | Yes | Path where to create/update the file | |
| content | Yes | Content of the file | |
| commit_message | Yes | Commit message | |
| branch | Yes | Branch to create/update the file in | |
| previous_path | No | Path of the file to move/rename | |
| last_commit_id | No | Last known file commit ID | |
| commit_id | No | Current file commit ID (for update operations) |