(git)错误error: ‘<filename>‘ does not have a commit checked out

淩亂°似流年 2023-09-27 18:34 246阅读 0赞

(git)错误error: ‘’ does not have a commit checked out

原因:子项目中 存在 .git文件,删除即可

操作方式: 必须导航到子文件夹,然后运行此命令 rm -rf .git

Yes, this is correct. I have .git initialized in my subfolder. I had
to navigate into the subfolder and then I ran this command rm -rf .git
– Nagaraj Alagusundaram Oct 10, 2022 at 11:25

发表评论

表情:
评论列表 (有 0 条评论,246人围观)

还没有评论,来说两句吧...

相关阅读