如果你想在一台机器使用两个github账号(比如私人账号和工作用账号)。这个时候怎么指定push到哪个账号的test仓库上去呢
解决方案是两套key,再写个配置文件,
注意生成两个Key时,不要随便输入enter键就就不会覆盖掉老的两个key
(假设你已经拥有私有账号且已经OK,现在想使用另一个工作用账号):
|
|
北方工业大学/CS/硕士在读
缺失模块。
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