当前位置:   article > 正文

fatal: not a git repository (or any of the parent directories): .git_python銝要ot a git repository

python銝要ot a git repository

问题描述

(base) D:\pythonProject>git status
fatal: not a git repository (or any of the parent directories): .git
在这里插入图片描述

原因分析:

产生原因:一般是没有初始化git本地版本管理仓库,所以无法执行git命令

解决方案:

解决方法:操作之前执行以下命令行: git init 初始化git,即可解决:
在这里插入图片描述

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

闽ICP备14008679号