当前位置:   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 fatal:

关联远程或push 出现了错误,如下
在这里插入图片描述
报错:没有.git这样一个目录
原因:没有初始化git本地版本管理仓库,所以无法执行git命令
解决方案:
git init 命令初始化git即可

git init
  • 1
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Gausst松鼠会/article/detail/678700
推荐阅读
相关标签
  

闽ICP备14008679号