0.1.0 • Published 11 years ago
gitblacklist v0.1.0
GIT blacklist checker
GIT - pre-commit check and reject certain words/phrases/functions commit into git repository.
Install
$ npm install gitblacklist -gUsage
$ gitblacklist initConfiguration
gitblacklist use following blacklist files to definition blacklist for
certain words/phrases/functions.
REPO_ROOT/.gitblacklist.[ext]REPO_ROOT/.gitblacklist~/.gitblacklist.[ext]~/.gitblacklist
description:
REPO_ROOT/.gitblacklist.[ext]and~/.gitblacklist.[ext]is for specifically filetype..gitblacklistand~/.gitblacklistis for all of files.REPO_ROOT/.gitblacklist.[ext]andREPO_ROOT/.gitblacklistis for current repository.~/.gitblacklist.[ext]and~/.gitblacklistis for all of current user's repository.
Pre-line a certain words/phrases/functions.
Example
To check for "TODO" or "FIXME" in a java file, create the file {REPO_ROOT}/.gitblacklist.java containing the two lines:
TODO
FIXMEBugs
For any bugs, please visit issues
0.1.0
11 years ago