Simple git hooks. It is not advised to install ghooks as a production dependency, as it will install git hooks in your production environment as well. Please install it under the devDependencies section of your package.json. Please also note, that it is absolutely not advised to install ghooks globally. To work as expected, make it a development dependency of your project(s). Add a config.ghooks entry in your package.json and simply specify which git hooks you want and their corresponding commands. The hooks' working directory is relative to the git root (where you have your .git directory). This means that if your package.json is in a subdirectory of your git repository, you'll need to cd into the directory before running any npm scripts.

Features

  • Usage with git GUI clients
  • This software is licensed under the MIT license
  • Add a config.ghooks entry in your package.json
  • Simply specify which git hooks you want
  • The hooks' working directory is relative to the git root
  • All documented hooks are available

Project Samples

Project Activity

See All Activity >

Categories

Git

License

MIT License

Follow ghooks

ghooks Web Site

Other Useful Business Software
Fully Managed MySQL, PostgreSQL, and SQL Server Icon
Fully Managed MySQL, PostgreSQL, and SQL Server

Automatic backups, patching, replication, and failover. Focus on your app, not your database.

Cloud SQL handles your database ops end to end. Migrate from on-prem or other clouds with free migration tools.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ghooks!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

JavaScript

Related Categories

JavaScript Git Software

Registered

2022-12-22