Commit all config changes
git_git_commit_allStages and commits all changes in the Home Assistant config directory to create a checkpoint before risky edits; skips commit when the working tree is clean.
Instructions
Stage and commit every change in the HA config directory.
Calls _repo(), stages everything with git add -A, and commits
message unless nothing is dirty, in which case no commit is made.
Use when: creating a checkpoint before a risky change to /config.
Not for: writing one file and checkpointing it in a single call — use
git_safe_write_with_checkpoint.
Returns: dict {"status": "committed", "sha", "message"}, or
{"status": "nothing_to_commit"} when the working tree is clean.
Errors: raises RuntimeError (from _repo()) when gitpython is not
installed or no git repo exists yet — run git_git_init_config first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Commit message describing this checkpoint or change. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||