Skip to the cargo

hk uninstall ​

  • How to hail it: hk uninstall [--global]
  • Effect: destructive — may delete or irreversibly overwrite (what's cut away can't be hauled back)

Remove hk hooks: take down the bosun's pipes.

Removes hk's hooks from the current git repository, taking hk's pipes down from this ship, and clearing out both the legacy .git/hooks/ shims and the config-based hook.* entries. Pass --global to remove them from the user's ~/.gitconfig instead.

Flags to fly ​

  • --global — Take down hk's hooks for the whole fleet, from the user's global git config (~/.gitconfig).
  • -h --help — Print help, for when ye've lost yer bearings

Tales from the deck ​

Remove the installation in the matching scope, this ship alone or the whole fleet (the global config); this does not delete hk.pkl.

sh
hk uninstall
hk uninstall --global

Further charts ​

Getting started: get under way · Troubleshooting: the ship's log · All the bosun's calls

MIT LicenseCopyright © 2026jdx.dev