社区
一般软件使用
帖子详情
win10系统下,git命令报错fatal: Not a git repository (or any of the parent directories)
weixin_41016494
2018-03-24 09:45:51
项目目录下已经有.git文件夹了,在合并分支时系统报错重启后,git命令就不能执行了,请问各位大神有谁知道是什么原因导致的?
...全文
1059
1
打赏
收藏
win10系统下,git命令报错fatal: Not a git repository (or any of the parent directories)
项目目录下已经有.git文件夹了,在合并分支时系统报错重启后,git命令就不能执行了,请问各位大神有谁知道是什么原因导致的?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
1 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
Ad
di
tionGameMethodsArraysLoops
作业10-具有数组,方法和循环的加法游戏 介绍 这是我们家庭作业10作业的第二部分。 我们必须在加法游戏中添加一个数组。
命令
提示符 D:\KLD_CS1_WorkSpace\Ad
di
tionGameMethodsArraysLoops>
git
status
fatal
: Not a
git
reposi
tor
y
(or any of the
parent
di
rec
tor
ies
): .
git
D:\KLD_CS1_WorkSpace\Ad
di
tionGameMethodsArraysLoops>
git
init Initialized empty
Git
reposi
tor
y
in D:/KLD_CS1_WorkSpace/Ad
di
tionGameMethodsArraysLoops/.
git
/ D:\KLD_CS1_WorkSpace\Ad
di
tionGameMethodsArrays
mern-itinerary
用于Heroku部署的Express MongoDB API 描述 这是用于联系人的单一模型完整CRUD API。 联系人具有以下属性 财产 值类型 默认 ID 整数 由db分配 姓名 细绳 不适用 年龄 整型 不适用 时间戳记 日期 由db分配 设置部署 笔记: 到处都有您可以自定义的内容,它们将包裹在<>标记中。 删除这些标签。 例子: /
应该改为 /contacts 不是 /
通过输入
git
status确认您尚未在
git
hub存储库中: 好的:
fatal
: not a
git
reposi
tor
y
(or any of the
parent
di
rec
tor
ies
): .
git
错误/移动到计算机上的其他位置 On branch master
Git
hub入门 克隆此存储库
git
clone <url to this
解决
fatal
: Not a
git
reposi
tor
y
(or any of the
parent
di
rec
tor
ies
): .
git
问题
上篇中将本地SSH添加到远程
git
hub 中 然后关联远程或push 又出现了错误,如下
fatal
: Not a
git
reposi
tor
y
(or any of the
parent
di
rec
tor
ies
): .
git
提示说没有.
git
这样一个目录 在
命令
行 输入
git
init 然后回车就好了 再重新执行添加文件的
命令
即可。 ...
git
报错
:
fatal
: not a
git
reposi
tor
y
(or any of the
parent
di
rec
tor
ies
): .
git
git
报错
:
fatal
: not a
git
reposi
tor
y
(or any of the
parent
di
rec
tor
ies
): .
git
解决
git
提示
fatal
: not a
git
reposi
tor
y
(or any of the
parent
di
rec
tor
ies
): .
git
fatal
: not a
git
reposi
tor
y
(or any of the
parent
di
rec
tor
ies
): .
git
一般软件使用
4,164
社区成员
38,513
社区内容
发帖
与我相关
我的任务
一般软件使用
Windows专区 一般软件使用
复制链接
扫一扫
分享
社区描述
Windows专区 一般软件使用
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章