2019-02-21 14:57:09 +00:00
|
|
|
# git-hooks
|
|
|
|
|
2019-02-21 15:02:42 +00:00
|
|
|
This is where I store git hooks that I frequently use in projects.
|
|
|
|
Right now there is one:
|
|
|
|
|
|
|
|
## pre-commit-todos:
|
|
|
|
|
|
|
|
A hook that blocks forbidden code from being committed, I use it to make sure
|
|
|
|
that anything flagged with 'TODO:' gets taken care of before committing.
|
|
|
|
|
|
|
|
It also has a chunk in there to display 'TODO-WARN:' as warnings when
|
|
|
|
committing, but still allows the commit.
|