git出现: not a git repository

使用用git add . 出现这样错误:

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

意思是说:.git没有这样的仓库

解决办法

git init 成功解决!

posted @ 2018-11-21 14:31  时间带着假象流淌  阅读(13339)  评论(0编辑  收藏  举报