Skip to content

Latest commit

 

History

History
 
 

hooks

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Hooks

This folder contains the official Rerun githooks.

Each hook is designed to call through to a corresponding hook in the scripts directory.

  • pre-push -> scripts/pre-push.sh

Installation

To install the hooks, simply copy them into the .git/hooks directory of your local checkout.

cp hooks/pre-push .git/hooks/pre-push
chmod +x .git/hooks/pre-push

or if you prefer you can configure git to use this directory as the hooks directory:

git config core.hooksPath hooks