I have files with the following name in my repository:
*.example.com.crt
The thing is that I can't clone the repository on windows.
error: unable to create file *.example.com.crt (Invalid argument)
Checking out files: 100% (6122/6122), done.
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
Do you know any workaround for that?
Unfortunately, no. Windows disallows certain characters in the filename, and Git will support just about anything, so it's up to you to manage it. I think your best solution is to simply rename the file.
Personally, I'd avoid using *
in a filename anyways, since it's a glob character.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With