commit_and_push_changes
Stage, commit, and push code changes to a Git repository in one step. Specify repository path and commit message to automate the push workflow.
Instructions
Use this when you want to stage, commit, and push in one step (most common push workflow). Requires 'repo_path' and 'commit_message'. Optional: 'files' (specific files to stage; empty stages all), 'branch', 'create_branch'. Automatically sets upstream tracking. See also: git_push, create_pull_request.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | Yes | Repository path relative to workspace | |
| commit_message | Yes | Commit message | |
| files | No | Specific files to stage (empty for all) | |
| branch | No | Target branch (current if empty) | |
| create_branch | No | Create branch if it does not exist |