git hooks for WordPress development

I have used git hooks for the development of my WordPress plugins and themes for a while now and I finally decided it was time to share them.

git hooks repositories

I created two git repositories where you can find the hooks and the necessary information if you want to use them for your own development.



  • You can’t commit on a master branch.
  • You can’t commit files with merge markers.
  • Commit messages shorter than 8 are not allowed.

Final thoughts

There is more information about the usage available on github, there you can also file an issue if you find any bugs or think of an improvement on these hooks.
I hope you will use them and share your thoughts about them.

This article is filed under the categories Development » WordPress and has the following tags associated with it: , .