-
Notifications
You must be signed in to change notification settings - Fork 9.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloning error - 'filename in tree entry contains backslash: '\'' #10004
Comments
Googling the error reveals that this was a problem for the Windows Git cli client. There's a workaround, discussed here: I can't find any way to run git commands with the Desktop, so I can't see how this workaround will help me. |
Hi @jjwagner, thanks for opening this and I'm sorry that you've encountered this problem! This seems to be the same issue as #9904 and it's caused by a protective measure added to mitigate a security vulnerability in Git for Windows (the official command line interface that GitHub Desktop relies on behind the scenes). In moodle/moodle@b4ede3f a file was created containing a We're working on upgrading our built-in version of Git to a version which fixes this problem but until that release ships the temporary workaround is to either set the
GitHub Desktop doesn't ship a command line interface but you can download the Git command line tools for Windows from https://git-scm.com/download/win. It's also possible to open the Git config file in an editor and add it manually (the config file is located in your home directory and is named
Please be aware that this will disable the security vulnerability protection mechanism until you remove that section again.
Thanks for pointing this out, this has recently been addressed in #9945 and this is what I see when I attempt to clone that repository now. That fix will be included in the next production release of Github Desktop. I'm going to close this issue in favor of #9904 so please follow along there for a notice of when we're getting ready to ship a fix. |
Describe the bug
Cloning fails with a huge wall of useless text and no visible button to clear it.
Version & OS
Github desktop 2.5.2
Windows 10 Pro 2004
Steps to reproduce the behavior
Expected behavior
I expected a clean fork of a popular project to clone using Github Desktop
Actual behavior
Github desktop crashes without any sort of explanation
Screenshots
Add screenshots to help explain your problem, if applicable.
Logs
many lines later:
Additional context
The text was updated successfully, but these errors were encountered: