type
Post
status
Published
slug
2018/11/17/1564656235419.html
summary
hexo deploy 提示 'github' does not appear to be a git repository
tags
Hexo
category
学习思考
icon
password
new update day
Property
Dec 8, 2022 03:38 AM
created days
Last edited time
Dec 8, 2022 03:38 AM

解决方案

  • 删除 .deploy 文件夹再 hexo d
  • 配置:global user.email/user.name
  • 执行:hexo deploy,成功
在执行 hexo clean 的时候只删除了 db.jsonpublic 文件夹,并没有删除.deploy 文件夹
所以才有可能出现 'github' does not appear to be a git repository 的现象
 
 
欢迎加入喵星计算机技术研究院,原创技术文章第一时间推送。
notion image
 
rsync 备份工具配置懒癌晚期之博客主题 yilia docker 集成镜像(已过时)