Add git pre-commit hook

The pre-commit hook will lint-check the added PHP files and also check
their CS.

Signed-off-by: Jacob Kiers <jacob@alphacomm.nl>
This commit is contained in:
Jacob Kiers
2015-05-12 12:07:08 +02:00
parent 38a0a2fa3d
commit ebddd9bb7f
5 changed files with 271 additions and 3 deletions

View File

@ -45,9 +45,6 @@
[url "git@github.com:jacobkiers/"]
insteadOf = "git://github.com/jacobkiers/"
[url "git@bitbucket.org:alphacomm/"]
insteadOf = "https://bitbucket.org/alphacomm/"
[url "git@bitbucket.org:jacobkiers/"]
insteadOf = "https://bitbucket.org/jacobkiers/"
@ -91,3 +88,6 @@
[fetch]
prune = true
[init]
templatedir = ~/dotfiles/resources/git-template