Open at15 opened 7 years ago
感觉都是现成的, 组装一个套路写个一键安装脚本 (雾) 就可以了?
Temporarily, we maintain a dyweb/php-git-hooks since original php-git-hooks
does not support custom commit-msg error message. I only change the message directly now. Also, I think we can write a tool or implement the custom message and other features for php-git-hooks
.
just for curiosity, why php?...
@arrowrowe Just because we need it on tongqu-web
(5.0) .... For other projects, no idea.
idea issuer: infamous @at15
Related issues: gitTq tongqu/tongqu-web/issues/19
Description
Currently, a lot of projects need to enforce commit message and code style, so instead of writing shell scripts for each project, it would be a better idea to have a set of configurable Git Hooks. Though it could be part of Ayi, Ayi still got a bunch of crap to deal with now.
i.e.
die
in PHP code before pushf**k
before commitFIXME
andTODO
are presentedRequired skills