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:
@ -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
|
||||
|
Reference in New Issue
Block a user