移动开发技术

Jason's Blog

在新电脑上恢复Octopress

换了新电脑,如何在新电脑上继续使用OctoPress呢,只需要执行以下命令

1.首先将博客的源文件clone到本地的octopress文件夹内

1
$ git clone -b source https://github.com/username/username.github.io.git octopress  

2.将博客文件clone到octopress的_deploy文件夹内

1
2
$ cd octopress  
$ git clone https://github.com/username/username.github.io.git _deploy   

username为github用户名

Comments