Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
任何人都可以为 SVN、Git 或 Mercurial(首选)建议一个提供配置某些预提交挂钩的能力的托管解决方案吗?例如,当 JS 提交时,我希望它通过 JSLint。或者如果 PHP 被提交,我希望它通过某些编码约定。
建议?
如果你决定使用 Git,你可以使用GitHub 。
Git 支持预提交钩子
提交挂钩将被简单地配置为项目的一部分,而不是在 GitHub 上。