CLI reference
Hooks — auto-sync on commit
Install, check, and remove the post-commit git hook that keeps the repowise wiki current after every commit.
The post-commit hook is the most popular auto-sync method. It runs
repowise update after every successful commit — typically 3–10
pages in under 30 seconds. Other sync options (file watcher, GitHub
webhook, polling) live in Auto-sync.
repowise hook install
Install the post-commit hook in the current repo (or every repo in a workspace).
repowise hook install [PATH] [OPTIONS]Prop
Type
repowise hook install
repowise hook install --workspacerepowise hook uninstall
Remove the repowise post-commit hook.
repowise hook uninstall [PATH] [OPTIONS]Prop
Type
repowise hook status
Check whether the post-commit hook is installed.
repowise hook status [PATH] [OPTIONS]Prop
Type
The hook is non-invasive — it appends to any existing post-commit
hook rather than overwriting. hook uninstall removes only the
repowise lines.