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

Posted wx62bdb159cc187

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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:
提示说没有.git这样一个目录

解决办法

在命令行 输入 git init 然后回车就好了,即可解决此问题


以上是关于fatal: not a git repository (or any of the parent directories): .git的主要内容,如果未能解决你的问题,请参考以下文章

git解决 fatal: not in a git directory

git 解决fatal: Not a git repository

fatal: Not a git repository Stopping at filesystem boundary

git --解决fatal: Not a git repository

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

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