git_hooks_disable: Disable Specific Git Hook

View source: R/git_hooks.R

git_hooks_disableR Documentation

Disable Specific Git Hook

Description

Disables a specific hook in settings and reinstalls the pre-commit hook.

Usage

git_hooks_disable(hook_name, config_file = NULL, verbose = TRUE)

Arguments

hook_name

Name of hook: "ai_sync", "data_security", or "check_sensitive_dirs"

config_file

Path to configuration file (default: auto-discover settings.yml or settings.yml)

verbose

Logical; if TRUE (default), show messages

Value

Invisible TRUE on success


framework documentation built on Feb. 18, 2026, 1:07 a.m.