jekyll使用现有模板——第二讲
打开命令行窗口
使用现有的jekyll模版
1 | git clone git@github.com:sutong/sutong.github.io.git sutong.github.io |
进入目录
1 | cd sutong.github.io |
删除.git文件
1 | rm -rf .git |
初始化git
1 | git init |
添加文件到版本控制
1 | git add -A |
提交到本地库
1 | git commit -m "init the git" |
添加中央仓库地址
1 | git remote add origin git@github.com:sutong/sutong.github.io.git |
jekyll使用现有模板——第二讲