This is designed to be a simple repo to provide convenience git hooks.
- From the root of your repository run
git submodule add https://github.com/rideways/githooks - Then run
sh githooks/init.sh(Also from the root of the repo).
e.g. a repository with githooks as a submodule:
cd example_repo
sh githooks/init.sh
Appends the text before the first _to the start of all commits eg.
All the commits on the branch ABC-123_do-something-fun would begin with [ABC-123].
The only exceptions to this are master, develop and test.