####过程并不复杂,也不需要工具####
添加ssh key 到oschina,匹配成功并新建私人项目,拉取下来 /.git/config --可多配置git repo,push到多个地方 参考地址:http://memoryboxes.github.io/blog/2014/12/07/duo-ge-gitzhang-hao-zhi-jian-de-qie-huan/
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
hideDotFiles = dotGitOnly
[remote "origin"]
url = git@git.oschina.net:geekaholic/MyHexoBlog.git
fetch = +refs/heads/*:refs/remotes/oschina/*
/.gitignore -- 只屏蔽这两个文件夹
/.deploy_git
/public
使用git 的
git push
命令push到repo
拉取下来(此时已经包括插件) 运行hexo命令
hexo clean && hexo g
,进行生成文章 运行hexo d
发布到github 的 pages