为什么 git 不允许我克隆这个存储库?

问题描述 投票:0回答:1

当我尝试克隆时,Git 给了我这个。

$ git clone --depth 1 "https://github.com/Ajatt-Tools/kitsunekko-mirror.git"
Cloning into 'kitsunekko-mirror'...
remote: Enumerating objects: 101147, done.
remote: Counting objects: 100% (101147/101147), done.
remote: Compressing objects: 100% (94534/94534), done.
remote: Total 101147 (delta 6117), reused 100653 (delta 5991), pack-reused 0
Receiving objects: 100% (101147/101147), 1.11 GiB | 20.19 MiB/s, done.
Resolving deltas: 100% (6117/6117), done.
fatal: cannot create directory at 'subtitles/16bit Sensation: Another Layer': Invalid argument
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

完成后

git status
它给了我
fatal: not a git repository (or any of the parent directories): .git

我尝试更改一堆配置设置,例如

git config --system core.longpaths true
或安装GIT-LFS。我也尝试过
git config --global core.protectNTFS false
,但也没有成功。 Git 版本 2.45.0.windows.1

git github error-handling git-clone
1个回答
0
投票

Windows 中的路径不能包含

:
,但在 Linux 中可以。

此项目包含一个带有

:
的文件夹:
'subtitles/16bit Sensation: Another Layer'

© www.soinside.com 2019 - 2024. All rights reserved.