<分区>
如何向 .gitignore 添加异常(exception),例如“忽略所有 .dll 文件但是 myfile.dll”?
<分区>
如何向 .gitignore 添加异常(exception),例如“忽略所有 .dll 文件但是 myfile.dll”?
最佳答案
使用 !
否定模式:
*.dll
!myfile.dll
关于git - .gitignore 中的异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2415873/