git_hooks
Manage Git hooks in your repository to automate workflows, customize actions, and enforce policies using list, get, create, enable, and disable operations.
Instructions
Manage git hooks in the repository.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | Hook action (list, get, create, enable, disable) | list |
hook_name | No | Name of the hook (e.g., 'pre-commit', 'post-merge') | |
repo_path | Yes | The path to the local Git repository | |
script | No | Script content for the hook (for create action) |