Jekyll相关资料
jekyll主要命令
gem install jekyll bundler
jekyll new my-awesome-site
cd my-awesome-site
bundle install
bundle exec jekyll serve
# => 打开浏览器 http://localhost:4000
git同步到gitpage
gem install jekyll bundler
jekyll new my-awesome-site
cd my-awesome-site
bundle install
bundle exec jekyll serve
# => 打开浏览器 http://localhost:4000
####gitPull和Push
#初次使用
echo "# testgit" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin git@github.com:chaovinci/chaovinci.github.io.git
git push -u origin master
#
git remote add origin git@github.com:chaovinci/testgit.git
git push -u origin master
#
#正常push
git status
git add .
git commit -m "something"
git push origin master
git init
#Initialized empty Git repository in /Users/dc/code/accent/_site/.git/
git pull git@github.com:chaovinci/chaovinci.github.io.git
git remote add origin git@github.com:chaovinci/chaovinci.github.io.git
git push -u origin master