最近几次git commit 的时候总是遇到错误,抛出的问题都是:
✖ subject may not be empty [subject-empty]
✖ type may not be empty [type-empty]
找了很久发现是描述的名称后面忘记加空格导致的。。。记录一下踩过的坑。。
git commit 规范不对导致报错
最新推荐文章于 2024-04-28 16:04:25 发布
最近几次git commit 的时候总是遇到错误,抛出的问题都是:
✖ subject may not be empty [subject-empty]
✖ type may not be empty [type-empty]
找了很久发现是描述的名称后面忘记加空格导致的。。。记录一下踩过的坑。。