在Github上快速建博客

  1. 新建仓库

在你的github站点中建立一个仓库,仓库名为你要访问的站点名称,如:myblog.github.com

  1. 安装Jekyll-Bootstrap

  2. 在本地硬盘建立一个仓库文件存放目录,如:c:\blog

  3. 使用命令行进入这个目录,执行如下git命令

命令行

<!-- lang: shell -->
git clone https://github.com/plusjade/jekyll-bootstrap.git myblog.github.com
cd myblog.github.com
git remote set-url origin [email protected]:yougithome/myblog.github.com.git
git push origin master
  1. 看效果

  2. 稍微等一小会儿,登录到github.com,你新建的仓库里看看是否已经上传了新的文件

  3. 访问站点myblog.github.com

你可能感兴趣的:(在Github上快速建博客)