资料来源1 commit 的使用规范介绍
资料来源2 commitzen 的安装指南
commit介绍
我们在每次提交代码时,都需要编写Commit Message,否则是不允许提交的。
编写Commit Message需要遵循一定的范式,内容应该清晰明了,指明本次提交的目的,便于日后追踪问题。commitizen就是这么样一款工具,他用来规范化我们的commit消息。
展开全文 >>
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: false
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true