| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is a git pre-commit hook that is inspired by the Gitrob project.
It adds an automatic check to prevent developers from checking in suspicious files (as defined by Gitrob's signatures.json)
git clone https://github.com/jandre/safe-commit-hook.git
cd safe-commit-hook
make install This will do the following:
Now you will get an error if you try to do anything fishy!
They are currently in JSON format at ~/.safe-commit-hook/git-deny-patterns.json.
Just remove the rules you wish to ignore. In the future, would nice to have a .git-safe-commit-ignore file for a repo.
| Back | FazBrowse Home | New Git URL |