3 ms·
Perhaps it would be more productive to advocate the use of local pre-commit hooks. Git makes it very easy to configure validation locally long before anything
by tux1968 15y ago
Perhaps it would be more productive to advocate the use of local pre-commit hooks. Git makes it very easy to configure validation locally long before anything gets sent to Github.
Would be nice if Github provided better documentation and a selection of validation templates to include in new projects. This would better leverage the power of Git and its distributed nature than a bot running on Github.
- campnic 15y agoI'll look for more on this, but if you had something you would recommend as a tutorial, I'd appreciate it.
- tux1968 15y agoDidn't have a specific example in mind; there is definitely opportunity for Github to help with education and adoption. For some reference material check out: http://book.git-scm.com/5_git_hooks.html http://progit.org/book/ch7-3.html And a couple simple examples: http://mark-story.com/posts/view/using-git-commit-hooks-to-prevent-stupid-mistakes https://github.com/ReekenX/git-php-syntax-checker