1.0.4 • Published 8 years ago

ghk-branch-nocommit v1.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
8 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

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.0

8 years ago