8000 GitHub - woodm1979/pottymouth: Prevent bad words in your commits
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

woodm1979/pottymouth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

pottymouth

Prevent bad words in your commits

Motivation

I recently had a friend "jokingly" ask for a web-scraper to help prevent her from including words like Poop in open-source repos. I think a git pre-commit hook would be easier to write. This is my attempt to help.

In retrospect, this should likely be a gist, but I just don't like them very much.

Setup

Optionally create a word-list file:

${EDITOR-vi} ~/.pottymouth

Consider filling your word-list file with words from this list.

Usage

usage: $0 [-h] [-f] [-a] [-g]
    -h: Show this help message.

    -f <wordlist>: Specify a word-list file.  Defaults to ~/.pottymouth .
    -a: Check all files in the repo.  Defaults to only checking modified files.

    -g: Make a git pre-commit hook.  That hook will use the remainder of the options if specified (-f, -a, ...)

About

Prevent bad words in your commits

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0