我的存储库中有以下名称的文件:
*.example.com.crt
问题是我无法在 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.
你知道任何解决方法吗?
抱歉不行。Windows不允许文件名中的某些字符,而 Git 将支持几乎所有内容,因此由您来管理它。我认为您最好的解决方案是简单地重命名文件。
就个人而言,*无论如何我都会避免在文件名中使用,因为它是一个 glob 字符。
| 归档时间: |
|
| 查看次数: |
1558 次 |
| 最近记录: |