git 解决fatal: Not a git repository renxiao1218 2018-03-02 1,781 阅读1分钟 使用git add .添加文件时出现这样错误: fatal: Not a git repository (or any of the parent directories): .git 提示说没有.git这样一个目录 解决方法:使用git init就可以了!