码迷,mamicode.com
首页 > 其他好文 > 详细

git 解决fatal: Not a git repository

时间:2018-07-31 13:35:44      阅读:362      评论:0      收藏:0      [点我收藏+]

标签:bsp   添加文件   art   nbsp   http   epo   cto   article   osi   

原文:https://blog.csdn.net/u012306714/article/details/52571596

 

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

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

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

git init就可以了!

git 解决fatal: Not a git repository

标签:bsp   添加文件   art   nbsp   http   epo   cto   article   osi   

原文地址:https://www.cnblogs.com/shihaiming/p/9395028.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!