Вопрос

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.

Git supports pre-commit hooks

The commit hooks will simply be configured as part of the project, not on GitHub.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top