Can't clone git repo on windows when some file names contain asterisk

后端 未结 1 1987
自闭症患者
自闭症患者 2021-01-19 07:00

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.

相关标签:
1条回答
  • 2021-01-19 07:11

    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.

    0 讨论(0)
提交回复
热议问题