Jekyll 使用
 Jekyll 使用 
 Build
版本:
1
2
3
gem --version
gem update --system
ruby --version
搭建环境:
1
2
3
4
bundle install
gem install --http-proxy http://127.0.0.1:7890 bundler
bundle update --bundler
bundle update
本地运行use command: jekyll s
1
jekyll s
git lfs
如果有LFS存储, clone到本地时需要先运行git config --global filter.lfs.process "git-lfs filter-process --skip", 使得大文件不会被下载.
 如果github需要代理, 则git config --global http.proxy 127.0.0.1
 取消代理为git config --global --unset http.proxy
git lfs install
git lfs track assets/files/**
git lfs ls-files
取消LFS存储(ref)
git lfs ls-files # 修改.gitattributes文件
git lfs migrate export --everything --include .
git lfs uninstall
git add --renormalize .
git lfs untrack assets/files/*
 本文由作者按照  CC BY 4.0  进行授权