To ease the development process, you can copy or link these hooks after you clone the repository.
$ cp hooks/pre-commit.sample .git/hooks/pre-commit
$ cp hooks/commit-msg.sample .git/hooks/commit-msg
This way you won't forget to generate the docs if anything is changed.
The commit-msg
hook will automatically sign-off your commits.
By signing off your commits, you certify that you have the right to contribute the code within the signed-off commits, i.e. that you are not violating copyright law, DMCA, or any software patent. Check Developer Certificate of Origin for details.
To learn more about why we require the signed-off-by:
line, please consult this question on Stack Overflow.