1.0.4 • Published 10 years ago

ghk-branch-nocommit v1.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

ghk-branch-nocommit

git hook to prevent commits on specified branches

plugin for ghk package

installation

$ npm install --save-dev ghk-branch-nocommit

usage

inside your project's .ghkrc (or the one in your root directory):

{
    "pre-commit": {
        "branch-nocommit": {
            "branches": ["master"]
        }
    }
}

options

  • branches: a list of branch names where committing in them is not allowed
1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.0.0

10 years ago