Skip to content

hk util no-commit-to-branch

  • Usage: hk util no-commit-to-branch [--branch… <BRANCH>]

Prevent commits to specific branches

Flags

--branch… <BRANCH>

Branch names to protect (default: main, master)

Licensed under the MIT License. Maintained by @jdx and friends.