创建:
hugo new site myblog //新建myblog
cd myblog/ //进入myblog文件
git init //初始化
git submodule add https://github.com/nanxiaobei/hugo-paper themes/paper //下载主题
hugo server -t paper --buildDrafts //本地运行
git init //初始化
git add * //选择全部
git commit -m "21/03/29" //推送名为21/03/29
git remote add origin https://github.com/yisier19/yisier19.github.io.git //具体
git push -u origin master //推送到分支master上
更新:
cd public
git add .
git commit -m "任意"
git push -u origin master