bb_update_file
Replace the full content of an existing file on a specified Bitbucket branch. Commit the change with an optional message and retrieve the new commit ID.
Instructions
Replace the full content of an existing file on 'branch'. 'message' is the commit message (default = 'Update '). Returns the new commit id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Existing file path | |
| branch | Yes | ||
| content | Yes | New full file content | |
| message | No | Commit message (default: 'Update <path>') | |
| repoSlug | Yes | ||
| projectKey | Yes |