Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 434 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 434 Bytes

Githooks

  • pre-commit: phpcs/phpcbf the staged files

USAGE

  • Put the scripts into your .git/hooks directory or use symbolic links (ln -s ~/path/to/source/perfect-site/hooks/ ~/path/to/target/perfect-site/.git/)
  • OR: add the scripts "chain" (you probably know what to do then)
  • Put the Config file "config" into the same dir as the scripts and edit it to your requirements
  • Ensure that the script is executable.