Hosted Solution for Version Control — with pre-commit hooks?
-
07-02-2021 - |
题
Can anyone suggest a hosted solution for SVN, Git, or Mercurial (preferred) that offers the ability to configure certain pre-commit hooks? For example, when JS is committed, I'd like it to pass JSLint. Or if PHP is committed, I'd like it to pass certain coding conventions.
Suggestions?
解决方案
You can use GitHub if you decide to use Git.
The commit hooks will simply be configured as part of the project, not on GitHub.
不隶属于 StackOverflow