Socket
Socket
Sign inDemoInstall

git-hooked

Package Overview
Dependencies
36
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    git-hooked

Manage repository git hooks


Version published
Weekly downloads
7
increased by250%
Maintainers
1
Install size
2.05 MB
Created
Weekly downloads
 

Readme

Source

git-hooked Travis CI Build Status AppVeyor Build Status

git-hooked is a hooks manager for your repositories. You can store hooks in a .hooks directory in your repository and install them via git-hooked via the command line or automatically as part of your build process.

Getting Started

npm install git-hooked -g

Once installed, you can install all hooks from the command line.

git-hooked install

Or, you can just install a single hook.

git-hooked install pre-commit

Hooks

Every hook listed in the documentation is available:

  • applypatch-msg
  • pre-applypatch
  • post-applypatch
  • pre-commit
  • prepare-commit-msg
  • commit-msg
  • post-commit
  • pre-rebase
  • post-checkout
  • post-merge
  • pre-push
  • pre-receive
  • update
  • post-receive
  • post-update
  • push-to-checkout
  • pre-auto-gc
  • post-rewrite
  • rebase

User Hooks

git-hooked does not replace existing hooks, but they are backed up to hookname.user. At this time, user hooks are not run as part of the git-hooked process but that may change in future versions.

Keywords

FAQs

Last updated on 12 May 2015

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc