type
Post
status
Published
date
Nov 17, 2018
slug
2018/11/17/1564656235419.html
summary
hexo deploy 提示 'github' does not appear to be a git repository
tags
Hexo
category
学习思考
created days
new update day
icon
password
Created_time
Dec 8, 2022 03:36 AM
Last edited time
Mar 1, 2025 01:50 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
 
GRUB 设置默认启动项Kali VirtualBox 镜像无法多网卡同时在线