git_commit_and_push
Automate Git workflows by committing staged changes and pushing to remote repositories. Specify files, branch, and commit messages with optional dry run previews for streamlined version control.
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) |