Describe workaround for cloning with long file names on Windows#4198
Describe workaround for cloning with long file names on Windows#4198jurre merged 2 commits intodependabot:mainfrom Marcono1234:patch-1
Conversation
|
Hmm However, it does not seem to work. Have marked this pull request as draft for now, until it is clear what the proper command is (and have asked on StackOverflow about this). |
|
Thanks @Marcono1234, this would be a great addition to the docs. None of the maintainers work on Windows so the contribution is very much appreciated, lmk if I can help in any way. |
|
I would like to wait a few days to get an answer on the StackOverflow question or from the Git for Windows maintainers whether |
|
@Marcono1234 did you ever end up getting a reply? I'm happy to find someone internally at GitHub who can answer the q if not! |
`git restore --source=HEAD :/` which is currently suggested by Git does not work, it is unable to restore the files, see git-for-windows/git#3411.
|
I did receive a reply and with some delay on my side posted this issue to the Git mailing list. However, it probably takes some time until this is resolved, so the easiest solution might be to recommend Sorry that I did not inform you about the progress. |

Relates to #3676
On Windows cloning the repository might fail with "Filename too long". This pull request adds a section to the README explaining how to solve this.