snapshot
Stage and commit changes with a message, then push to remote only when push=True, avoiding unexpected network operations.
Instructions
git add (pathspec-scoped) + commit; push only if push=True (defaults off to avoid a surprise network operation).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| push | No | ||
| message | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | No | ||
| pushed | No | ||
| message | No | ||
| committed | Yes | ||
| initialized_repo | No |