Skip to content

Instantly share code, notes, and snippets.

@mechastorm
Created January 28, 2015 05:13
Show Gist options
  • Save mechastorm/e1e4867e21987cd78342 to your computer and use it in GitHub Desktop.
Save mechastorm/e1e4867e21987cd78342 to your computer and use it in GitHub Desktop.
Example of adding a pre-commit hook to your .pre-commit-config.yml
- repo: http://source/to/your/hook/repo/url
sha: master
hooks:
- id: php-lint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment