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

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

解决方法:操作之前执行以下命令行:  git init 初始化git,即可解决:

原文地址:https://www.cnblogs.com/l199616j/p/11580427.html