Project generated by create-hexo-wiki
请务必先做好数据子库的准备!
# 若网速慢,可启用以下环境变量
# GIT_LFS_SKIP_SMUDGE=1
git clone --recurse-submodules \
https://github.com/FreeCodeCamp-Chengdu/FreeCodeCamp-Chengdu.github.io.git \
~/Desktop/FCC-CDC/OWS/
cd ~/Desktop/FCC-CDC/OWS/
npm install && npm start
cd ~/Desktop/FCC-CDC/OWS/
hexo new "My Post title"
# 或
# hexo new activity "New activity title"
cd source/
git checkout master # 确保子模块在 master 分支,否则提交推送后会丢失
code _post/My-Post-title.md # 用你喜欢的文本编辑器写作
git add _post/My-Post-title.md
git commit -m "[ Add ] A new Post"
git push
cd ~/Desktop/FCC-CDC/OWS/
git submodule update --remote # 程序开发后要同步文章目录
git add .
git commit -m "[ Add ] A new Feature"
git push