create_or_update_file
Create or update a file in a GitHub repository by specifying the branch, file path, content, and commit message. This tool simplifies file management and version control within GitHub repositories.
Instructions
Create or update a single file in a GitHub repository
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branch | Yes | Branch to create/update the file in | |
content | Yes | Content of the file | |
message | Yes | Commit message | |
owner | Yes | Repository owner (username or organization) | |
path | Yes | Path where to create/update the file | |
repo | Yes | Repository name | |
sha | No | SHA of the file being replaced (required when updating existing files) |