hk uninstall
- Usage:
hk uninstall [--global] - Effect: destructive — may delete or irreversibly overwrite
Remove hk hooks
Removes hk's hooks from the current git repository, clearing both legacy .git/hooks/ shims and config-based hook.* entries. Pass --global to remove them from the user's ~/.gitconfig instead.
Flags
--global— Remove hk hooks from the user's global git config (~/.gitconfig).-h --help— Print help
Examples
Remove the installation in the matching scope; this does not delete hk.pkl.
sh
hk uninstall
hk uninstall --global