正如建议的Q22575737 https://stackoverflow.com/a/22575737/6623589,我已经更新了我的注册表并设置了git config --system core.longpaths true
在处理长路径时。问题解决于适用于 Windows 的 Git Bash https://git-scm.com/downloads但是,我在 GitKraken 中收到如下错误。我也启用了Long Paths = True
来自 GitKraken 偏好设置,如建议的那样Q60008822 https://stackoverflow.com/a/60008822/6623589
操作系统和文件系统的相关信息:
debmalya@DESKTOP-IPD20NF MINGW64 ~
$ git --version
git version 2.38.1.windows.1
GitKraken Client Version: 8.10.3 (x64)
Windows Specifications
======================
Edition Windows 10 Home Single Language
Version 22H2
Installed on 02-11-2022
OS build 19045.2130
Experience Windows Feature Experience Pack 120.2212.4180.0
.gitconfig
文件设置:
作为解决方法,请尝试将本地文件夹映射到驱动器号 https://www.computerworld.com/article/2694895/how-to-map-a-local-folder-to-a-drive-letter-in-windows.html
subst x: C:\your`\long\path\to\root\folder\of\repository
查看在 GitKraken 中打开 X:\ 作为存储库时问题是否仍然存在。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)