remote: Start Git Hooks Checking [FAILED]
remote: Error: Deny by project hooks setting 'default': message of commit '33e095953ba928dc6e8dba98967c325fa8f5ba13' (see it by 'git log') does not match the regular-expression '(RR|IR|US|BUG|VUL)(\d{13,14})|(TX|WI|DTS)(\d{13})|(DTS[a-zA-Z0-9]{19})|(SR)(\d{14})|(#)(\d+)'.
To ssh://xxxx.com:1111/xxxx/xxxx.git
! [remote rejected] feature_install_arch -> feature_install_arch (pre-receive hook declined)到底怎么回事?
发布于 2022-01-30 08:39:53
您的回购对于它接受的提交消息有一些限制。您需要匹配一些regex (RR|IR|US|BUG|VUL)(\d{13,14})|(TX|WI|DTS)(\d{13})|(DTS[a-zA-Z0-9]{19})|(SR)(\d{14})|(#)(\d+)、查看https://regex101.com/r/N7mU1w/1来播放和查看匹配的内容。
询问您的协作者确切的逻辑是什么,并查看前面的提交消息作为示例。若要在提交者之后更改提交消息,请参见this answer
https://stackoverflow.com/questions/70913066
复制相似问题