Skip to content

feat: add .gitnexusignore file support#233

Closed
ex-nihilo-jg wants to merge 1 commit into
abhigyanpatwari:mainfrom
ex-nihilo-jg:feat/gitnexusignore
Closed

feat: add .gitnexusignore file support#233
ex-nihilo-jg wants to merge 1 commit into
abhigyanpatwari:mainfrom
ex-nihilo-jg:feat/gitnexusignore

Conversation

@ex-nihilo-jg

Copy link
Copy Markdown

Adds support for a .gitnexusignore file at the repo root. Works like .gitignore — listed paths are excluded from analysis.

Useful for skipping vendored code, submodules, or large generated directories that add noise to the knowledge graph.

Allows users to exclude paths from indexing by placing a
.gitnexusignore file in the repository root.

Format: one pattern per line, # comments, blank lines ignored.
- Path prefixes (containing /): match against normalized file path
  e.g. "app/engine/source/" excludes that subtree
- Directory names (no /): match against any path segment
  e.g. "workspace" excludes any folder named workspace

Loaded once per analysis before the filesystem walk. Patterns are
checked before the default ignore list in shouldIgnorePath().

This is essential for monorepos and repos with vendored/submodule
code that shouldn't be indexed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel

vercel Bot commented Mar 10, 2026

Copy link
Copy Markdown

@ex-nihilo-jg is attempting to deploy a commit to the NexusCore Team on Vercel.

A member of the Team first needs to authorize it.

@jecanore

Copy link
Copy Markdown
Contributor

Hi @ex-nihilo-jg! PR #301 takes a similar minimal approach to .gitnexusignore and bundles it with the unsupported language crash fix. Consolidating both in one PR since they're the same root issue for mobile dev repos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants