现在许多公司已经在使用 Git 作为代码托管工具,但仍然有非常多的公司由于各种原因仍然在使用 SVN 进行代码管理。所以,本篇会详细的介绍如何将一个新建的项目托管到 SVN 上。要使用 SVN,首先需要在 SVN 服务端创建一个仓库用来存储项目。
1、创建仓库
打开 SVN 所在服务器的 VisualSVN Server,右键「Repositories」›「Create New Repository」。

缺失模块。
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