Py学习  »  Git

告诉git pull忽略名为con.dat的文件,因为它无法在Windows上签出

Philipp • 6 年前 • 2193 次点击  

准确的错误是:

error: unable to stat just-written file Resources/CON.dat: No such file or directory
Python社区是高质量的Python/Django开发社区
本文地址:http://www.python88.com/topic/56283
文章 [ 1 ]  |  最新文章 6 年前
jthill
Reply   •   1 楼
jthill    6 年前

使用稀疏签出。

printf >.git/info/sparse-checkout %s\\n \
        '*' '!'{con,prn,aux,nul,lpt[1-9],com[1-9]}{,'.*'} 
git config core.sparsecheckout true

你可能需要匹配已提交的案例,是con还是con?