doc: Fix ignore files api in README.md

This commit is contained in:
Petr Mironychev 2025-05-02 08:58:31 +02:00 committed by GitHub
parent 6ae95fec45
commit f7ba7b95be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -296,23 +296,11 @@ The file format is similar to .gitignore:
- To negate a pattern, use ! at the beginning of the line
```
# Ignore all files in the build directory
build/
# Ignore all temporary files
/build
*.tmp
*.temp
# Ignore all files with .log extension
*.log
# Ignore a specific file
src/generated/autogen.cpp
# Ignore nested directories
**/node_modules/
# Negation - DO NOT ignore this file
!src/important.cpp
```
## Troubleshooting