You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

captain-git-hook-rrd

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

captain-git-hook-rrd

This is refer to captain-git-hook,thanks maxhoffmann.Only modify the .git folder path for my project.

1.0.1
latest
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

captain-git-hook version build

This is refer to captain-git-hook,thanks maxhoffmann. Only modify the .git folder path for my project.

define git hooks as scripts in your package.json (requires node >= 0.12)

Usage

package.json

{
  "scripts": {
    "pre-commit": "echo 'this prevents commiting' && exit 1"
  }
}

Add a script to your package.json for any git hook you want to listen to.

Currently supported hooks:

pre-commit
post-commit
post-merge
pre-push

Installation

npm i captain-git-hook

LICENSE

The MIT License (MIT) Maximilian Hoffmann

FAQs

Package last updated on 18 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts