Environment and development tools: Difference between revisions

Jump to navigation Jump to search
m
Tag: 2017 source edit
Tag: 2017 source edit
Line 73: Line 73:


=== Install Pre-commit git hook ===
=== Install Pre-commit git hook ===
Go to '''/dev/setup/git/hooks''' of your local repository, copy the pre-commit file in '''.git/hooks''' folder of your local repository and make it executable.
Go to '''/dev/setup/git/hooks''' of your local repository, copy the file '''pre-commit''' into the '''.git/hooks''' folder of your local repository and make it executable.


If not install, install phpcs.
If not install, install phpcs.

Navigation menu