mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-08-28 05:25:25 +00:00
docs(readme): document the global ignore file (#2606)
This commit is contained in:
parent
322e05a6be
commit
5893de1194
1 changed files with 8 additions and 1 deletions
|
|
@ -511,9 +511,16 @@ For very large repositories:
|
|||
# Increase Node.js heap size
|
||||
NODE_OPTIONS="--max-old-space-size=16384" npx gitnexus analyze
|
||||
|
||||
# Exclude large directories
|
||||
# Exclude large directories (this repo only)
|
||||
echo "vendor/" >> .gitnexusignore
|
||||
echo "dist/" >> .gitnexusignore
|
||||
|
||||
# Exclude a directory across every repo you index, without touching each
|
||||
# repo's own .gitnexusignore. Same syntax; lives next to registry.json and
|
||||
# config.json under the global GitNexus directory ($GITNEXUS_HOME, default
|
||||
# ~/.gitnexus). A repo's own .gitignore/.gitnexusignore can still override
|
||||
# it with a `!pattern` negation. Skip it entirely with GITNEXUS_NO_GLOBAL_IGNORE=1.
|
||||
mkdir -p ~/.gitnexus && echo "docs/" >> ~/.gitnexus/ignore
|
||||
```
|
||||
|
||||
### Large files are being skipped
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue