Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m-lab/git-hooks
Git hooks to help your project be better
https://github.com/m-lab/git-hooks
development
Last synced: about 1 month ago
JSON representation
Git hooks to help your project be better
- Host: GitHub
- URL: https://github.com/m-lab/git-hooks
- Owner: m-lab
- License: apache-2.0
- Created: 2017-05-01T15:06:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-08-22T23:11:42.000Z (over 1 year ago)
- Last Synced: 2024-10-29T14:51:00.733Z (about 2 months ago)
- Topics: development
- Language: Shell
- Size: 42 KB
- Stars: 1
- Watchers: 12
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-hooks
Git hooks to help your project be better.To make git run unit tests and lint tests, softlink the `pre-commit` and
`prepare-commit-msg` files into the `.git/hooks directory` of the repo you want
to test. The following commands will get that done:
```bash
ln --symbolic --force ${HOME}/git-hooks/pre-commit .git/hooks/pre-commit
ln --symbolic --force ${HOME}/git-hooks/prepare-commit-msg .git/hooks/prepare-commit-msg
```# Python requirements
`$ [sudo] pip install -r requirements-python.txt`# Currently supported languages for linting
- Python
- Go
- Shell
- YAML
- JSON