haringsrob / php-nocheckin
Adds a git hook to block commits if @NOCHECKIN is found in modified files.
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Language:Shell
This package is auto-updated.
Last update: 2024-11-15 14:07:05 UTC
README
A simple composer package that adds a no-checkin pre-commit hook to your project.
Before every commit it will check if there is an occurence of "@NOCHECKIN", if it is found it will block the commit.
@NOCHECKIN can be used to tag you code, same as with @TODO, but for important parts that need to be fully resolved.
Install
If you do want to install it for your project only use:
composer require --dev haringsrob/php-nocheckin
It does not work?
Most likely you already have a pre-commit hook. And there is nothing I can do about that.