List config git commits
git_git_logList recent commits in the Home Assistant configuration git repository, returning SHA, message, author, and date to review changes before rollback or diff.
Instructions
List recent commits in the HA config git repository.
Calls _repo() and returns up to limit commits from
repo.iter_commits, most recent first, with short SHA, message, author
name and ISO commit date.
Use when: reviewing recent config changes before a rollback or diff.
Returns: list[dict] {"sha", "message", "author", "date"}.
Errors: raises RuntimeError (from _repo()) when gitpython is not
installed or no git repo exists yet — run git_git_init_config first.
Limits: limit caps the number of commits returned; no further
pagination is offered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of commits to return, most recent first. Defaults to 20. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |