kristain

博客园 首页 新随笔 联系 订阅 管理

我用git add file添加文件时出现这样错误:

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

提示说没有.git这样一个目录,解决办法如下:

git init就可以了!

posted on 2014-07-12 15:03  kristain  阅读(83305)  评论(1编辑  收藏  举报