【发布时间】:2023-04-05 13:37:01
【问题描述】:
我已经搜索并阅读了一些帖子,但我的问题与描述的不同。所以这是问题所在:在磁盘外部分区下的文件夹中使用git clone 工作正常,但所有 git 命令都失败。无法执行git status 或git log...总是出错
fatal: Not a git repository (or any parent up to mount parent /home/kozi)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
请帮帮我..
.
├── abi
├── 仿生
├── 可开机
├── 建造
├── cts
├── 达尔维克
├── 发展
├── 设备
├── 文档
├── 外部
├── 框架
├── gdk
├── 硬件
├── libcore
├── libnativehelper
├── ndk
├── 包
├── pdk
├── 预制件
├── .repo
├── sdk
├── 系统
└── 工具
【问题讨论】:
-
你的 git repo 中
tree的输出是什么? -
好的,
ls .git的输出是什么?您可以在 pastebin.com 上粘贴更长的输出并链接到它们。 -
pastebin 有大小限制,我上传了文件here
-
ls .git的输出是什么? -
@Chronial,你的意思是树中每个嵌套文件夹的 .git 输出吗?或者是否有您希望我提供的任何特定目录。在根文件夹中,我只能看到 .repo 而没有 .git
标签: git filesystems boundary