The template is based on Professor HaoDong's template(https://github.com/zsdonghao/zsdonghao.github.io)
some command I've used:
安装可视化的D:\Program Files\Ruby33-x64\msys64\var\lib\pacman\db.lck
bundle exec jekyll serve
cd path/to/your/jack_blog
git init
git remote add origin https://github.com/username/username.github.io.git
git add .
git commit -m "更新"
git push -u origin main
初始化Git仓库(如果还未进行过初始化): 打开命令行(例如终端或命令提示符),导航到项目文件夹,并执行以下命令:
git init
git add .
git commit -m "Initial commit"
连接对应远程仓库
若用master
git add .
git branch -M master
git push -u origin master
若用main
git add .
git branch -M main
git push -u origin main
强制覆盖
git push -u origin main –force
打开jack_blog文件夹,cmd后,可以(或者win+R cd /d E:\GitHub\网站\jack_blog)
来看看效果
git add .
git commit -m "更新"
git push -u origin main