<!-- @generated by usage-cli from usage spec -->

# `hk util no-commit-to-branch`

- **Usage**: `hk util no-commit-to-branch [--branch… <BRANCH>]`
- **Effect**: read-only

Prevent commits to specific branches

## Flags

### `--branch… <BRANCH>`

Branch names to protect (default: main, master)
