git_commit_and_push
Automate Git commits and push changes to a remote repository. Specify file paths, commit messages, and branch names. Supports dry runs for previewing changes and integrates with conventional commit formatting.
Instructions
Commit staged changes and push to remote repository
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branch | No | Branch name to create/switch to (optional) | |
commitMessage | Yes | Commit message (use conventional commit format) | |
dryRun | No | Preview changes without executing | |
files | No | Array of file paths to commit (empty for all changes) | |
workingDir | No | Working directory path (defaults to current directory) |