bahmutov / pre-git

Automatically install pre-commit / pre-push hooks in your git repo
168 stars 22 forks source link

Pre-merge hook? #98

Open sospedra opened 8 years ago

sospedra commented 8 years ago

I think that would be very useful to have a pre-merge hook for master. So we can ensure that everything that goes to master passed the tests, but rely on the developer how they handle they own branches. Thoughts?

bahmutov commented 8 years ago

probably useful, and should not be difficult, there is already post-merge hook code. But I do not see pre-merge hook in the list of available Git hooks https://git-scm.com/docs/githooks