@[TOC](解决 git 问题:fatal: not a git repository (or any of the parent directories): .git)
今天使用 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 init 然后回车就好了
git init