Open krikru opened 7 years ago
According to a stackoverflow thread this is a problem of the git client.
Using the advised
git config --system core.longpaths true
solved the issue for me (together with turning of the limitation via group policy).
The command might need to run with administrative privileges, depending on your UAC settings.
Thank you SimonRuehle, that worked!
When I clone the repository, I get a message saying that the cloning succeeded but that the checkout failed:
Apparently the path length becomes too long. In Windows, there is by default a max limitation of 260 characters for path lengths. It should be possible to turn this limitation off, but doing so doesn't seem to work for me (I even noticed that
LongPathsEnabled
already was 1 since earlier).Perhaps not surprisingly,
git checkout -f HEAD
doesn't work either, and results in a very similar error message: