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

README.md

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.