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.json
和 public
文件夹,并没有删除.deploy
文件夹所以才有可能出现
'github' does not appear to be a git repository
的现象 欢迎加入“喵星计算机技术研究院”,原创技术文章第一时间推送。

- 作者:tangcuyu
- 链接:https://expoli.tech/articles/2018/11/17/1564656235419
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。