Jump to navigation Jump to search
# Create a new virtualenv in the directory "cmv" in your home directory cd ~ virtualenv cmv # Install from pypi ~/cmv/bin/pip install commit-message-validator # Configure the git hook. You'll need to do this for every git repo you wish to run it on cd /path/to/git/repository ~/cmv/bin/commit-message-validator install # to update to the latest release ~/cmv/bin/pip install -U commit-message-validator
The git hook will run after you make the commit, and tell you about any errors you might have made so you can go back and amend your change.
- integration/commit-message-validator on Gerrit