如果你的_config.yml文件下为:
deploy:
type: git
repo: 仓库地址
branch: master
可以将master改为main:
deploy:
type: git
repo: 仓库地址
branch: main
然后hexo clean, hexo d -g尝试,我的这样成功解决。
如果你的_config.yml文件下为:
deploy:
type: git
repo: 仓库地址
branch: master
可以将master改为main:
deploy:
type: git
repo: 仓库地址
branch: main
然后hexo clean, hexo d -g尝试,我的这样成功解决。