Filename too Long in GitKraken for Windows

291 Views Asked by At

As suggested in Q22575737, I've updated my registry and have set git config --system core.longpaths true while working with long paths. The problem is solved in Git Bash for Windows however, I am getting the error in GitKraken as below. I've also enabled Long Paths = True from GitKraken preferences as suggested in Q60008822

enter image description here

Related information to OS and file system:

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 file settings:

enter image description here

1

There are 1 best solutions below

4
On

As a workaround, try and map a local folder to a drive letter

subst x: C:\your`\long\path\to\root\folder\of\repository

See if the issue persists when opening X:\ as your repository in GitKraken.