create_or_update_file
Create or update a file in a GitLab project by specifying the branch, file path, content, and commit message. Use for streamlined file management and version control.
Instructions
Create or update a single file in a GitLab project
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branch | No | ||
commit_message | No | ||
content | No | ||
file_path | No | ||
previous_path | No | ||
project_id | No |
Input Schema (JSON Schema)
{
"properties": {
"branch": {
"type": "string"
},
"commit_message": {
"type": "string"
},
"content": {
"type": "string"
},
"file_path": {
"type": "string"
},
"previous_path": {
"type": "string"
},
"project_id": {
"type": "string"
}
},
"type": "object"
}