Overcommit is a gem that makes easy to add, configure and run tasks on git hooks (script that are run when manipulating a git repo, for example, before making a commit).
- Add the gem
overcommitto development environment, or install it globally on you machine withgem install overcommit - On the project on which you want to use
overcommit, install the git hooks provided byovercommit:overcommit --install