Skip to content
Demo repo to illustrate custom Git Hooks.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

pre-commit demo repo

Demo repo to illustrate creating custom Git Hooks.

Repo Setup

To configure this repo in order to test the included pre-commit hooks, run this command from the root directory:

git config core.hooksPath .githooks

Any commits after that should run the custom script and block commits accordingly.

You can’t perform that action at this time.