当前位置:   article > 正文

完美解决 git 报错fatal: Not a git repository (or any of the parent directories): .git

fatal: not a git repository (or any of the parent directories): .git

问题描述

错误提示是找不到.git文件,无法执行git指令,意思是 当前你要提交的文件夹中没有.git这个文件

解决方案

执行如下命令:

git init
  • 1
声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号