How do we verify commit messages for a push?

前端 未结 5 708
执笔经年
执笔经年 2020-12-01 04:28

Coming from CVS, we have a policy that commit messages should be tagged with a bug number (simple suffix \"... [9999]\"). A CVS script checks this during commits and rejects

5条回答
  •  臣服心动
    2020-12-01 05:14

    You need made a script on your pre-receive.

    In this script you receive the old and new revision. You can check all commit and return false if one of this is bad.

提交回复
热议问题