I was not able to find an
or
issue matching what I'm seeing
What are users supposed to do here, rewrite the history of the repos so that the offending commit is removed?
The workaround is to disable
:
git config --global core.protectNTFS false
Setup
Which version of Git for Windows are you using? Is it 32-bit or 64-bit?
Git for Windows 2.24.1.windows.2 64-bit
$ git --version --build-options git version 2.24.1.windows.2 cpu: x86_64 built from commit: 992f0773022527b1b0cb1e0c13aec97dd5248053 sizeof-long: 4 sizeof-size_t: 8 Which version of Windows are you running? Vista, 7, 8, 10? Is it 32-bit or 64-bit?
$ cmd.exe /c ver Microsoft Windows [Version 10.0.18363.535] What options did you set as part of the installation? Or did you choose the
defaults?
# One of the following: > type "C:\Program Files\Git\etc\install-options.txt" > type "C:\Program Files (x86)\Git\etc\install-options.txt" > type "%USERPROFILE%\AppData\Local\Programs\Git\etc\install-options.txt" $ cat /etc/install-options.txt Editor Option: VIM Custom Editor Path: Path Option: Cmd SSH Option: OpenSSH Tortoise Option: false CURL Option: OpenSSL CRLF Option: CRLFAlways Bash Terminal Option: MinTTY Performance Tweaks FSCache: Enabled Use Credential Manager: Enabled Enable Symlinks: Disabled Enable Builtin Interactive Add: Disabled Any other interesting things about your environment that might be related
to the issue you're seeing?
Installed with Chocolatey
Details
Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other
cmd.exe
What commands did you run to trigger this issue? If you can provide a
Minimal, Complete, and Verifiable example
this will help us understand the issue.
git clone https://github.com/zephyrproject-rtos/civetweb.git What did you expect to occur after running these commands?
Cloned repo successfully.
What actually happened instead?
Cloning into 'civetweb'... remote: Enumerating objects: 38, done. remote: Counting objects: 100% (38/38), done. remote: Compressing objects: 100% (31/31), done. remote: Total 21161 (delta 17), reused 19 (delta 7), pack-reused 21123 Receiving objects: 100% (21161/21161), 24.53 MiB | 7.55 MiB/s, done. error: filename in tree entry contains backslash: '\' error: filename in tree entry contains backslash: '\' error: filename in tree entry contains backslash: '\' error: filename in tree entry contains backslash: '\' error: filename in tree entry contains backslash: '\' error: filename in tree entry contains backslash: '\' error: filename in tree entry contains backslash: '\' error: filename in tree entry contains backslash: '\' error: filename in tree entry contains backslash: '\' error: filename in tree entry contains backslash: '\' error: filename in tree entry contains backslash: '\' error: filename in tree entry contains backslash: '\' error: filename in tree entry contains backslash: '\' error: filename in tree entry contains backslash: '\' error: filename in tree entry contains backslash: '\' error: filename in tree entry contains backslash: '\' error: filename in tree entry contains backslash: '\' error: filename in tree entry contains backslash: '\' Resolving deltas: 100% (13566/13566), done. Updating files: 100% (1251/1251), done. If the problem was occurring with a specific repository, can you provide the
URL to that repository to help us with testing?