markdown_files/ # 忽略所有 .log 文件 *.log # 忽略特定文件 debug.ini # 忽略目录 tmp/ build/ # 不忽略重要的.log文件 !important.log