Place this file in my_project/.git/hooks/prepare-commit-msg
to have git automatically use ptb to prepare your commit messages for you.
You also need to give execute permisions to prepare-commit-msg
chmod +x myproject/.git/hooks/prepare-commit-msg
- git >= 1.8.2
- ptb >= 0.0.3