create_or_update_file
Create or update a file in a GitLab project by providing the project, file path, content, branch, and commit message. Also supports moving or renaming an existing file using the 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 |