Manage your git hooks with CommandBox
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
commands/githooks
models
resources
.gitignore
LICENSE
ModuleConfig.cfc
README.md
box.json
commandbox-githooks.gif

README.md

commandbox-githooks

Manage your git hooks with CommandBox

Installation

Install this package and set up your project to use it:

box install commandbox-githooks
cd my-git-project
box githooks install

Add your scripts to a githooks key in the box.json:

{
  "githooks": {
    "preCommit": "testbox run",
    "postCheckout": [
      "install",
      "!npm install",
      "!gulp"
    ]
  }
}

Example

commandbox-githooks example