git cz == 1 ======================== 第一步会询问你<类型>是什么? ? Select the type of change that you're committing: Use arrow keys or type to search ❯ feat: A new feature fix: A bug fix docs: Documentation only changes style: Changes that do not affect the meaning of the code refactor: A code change that neither fixes a bug nor adds a feature perf: A code change that improves performance test: Adding missing tests or correcting existing tests (Move up and down to reveal more choices) == 2 ======================== 第二步会询问你[范围](可选)是什么?如果不写则选择empty选项 ? Denote the SCOPE of this change (optional): Use arrow keys or type to search ❯ empty custom == 3 ======================== 第三步会询问你<描述>是什么?需要填写简短的描述 ? Write a SHORT, IMPERATIVE tense description of the change: [Infinity more chars allowed] == 4 ======================== 第四步会询问你<正文>(可选)是什么?需要填写更详细的描述,通过“|”来换行 ? Provide a LONGER description of the change (optional). Use "|" to break new line: == 5 ======================== 第五步会破坏性更新有哪些(可选)使用“|”换行 ? List any BREAKING CHANGES (optional). Use "|" to break new line: == 6 ======================== 最后一步会询问你要关联关闭哪些ISSUES(可选) ? Select the ISSUES type of change (optional): ============================= 最后会生成符合规范的提交信息,会询问你是否确认提交,选择是的话,最终会附带生成好的信息执行git commit