It would be handy to be able to install the pre-commit hooks with a drush command. Here's a patch to do just that.
With this patch, you can download dcq to ~/.drush/dcq and then run drush dcq-install in any git repository to install the pre-commit hooks there.
| Comment | File | Size | Author |
|---|---|---|---|
| dcq-drush-command.patch | 2.33 KB | becw |
Comments
Comment #1
eugene.ilyin commentedThank you! It's great idea.
Your patch was commited, it will be available in new version - 7.x-2.1
Comment #2
becw commentedThanks!
Comment #3.0
(not verified) commentedAdd more information on how to use the patch.