create_or_update_file
Create or update a file in a GitLab project by specifying project ID, file path, content, commit message, and branch. Optionally rename via previous path.
Instructions
Create or update a single file in a GitLab project
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | Branch to create/update the file in | |
| content | Yes | Content of the file | |
| file_path | Yes | Path where to create/update the file | |
| project_id | Yes | Project ID or URL-encoded path | |
| previous_path | No | Path of the file to move/rename | |
| commit_message | Yes | Commit message |