All Features

Configurable Scope

Filter what matters. Ignore the noise.

Overview

Large codebase? Too many PRs? GitSpectra lets you filter exactly which commits and branches to monitor, so you only see conflicts that matter to you.

Screenshot

VS Code settings panel showing GitSpectra scope configuration options

Scope Options

Branch Filtering

Control which branches to check for conflicts:

{
  "gitspectra.scope.branches": [
    "origin/main",
    "origin/develop",
    "origin/release/*"
  ]
}

Screenshot

Branch selection in settings showing multiple branches configured

Pattern Matching

  • Exact match: origin/main
  • Wildcard: origin/feature/*
  • Multiple patterns: ["origin/main", "origin/develop"]

Exclude Branches

{
  "gitspectra.scope.excludeBranches": [
    "origin/dependabot/*",
    "origin/renovate/*",
    "origin/revert-*"
  ]
}

Exclude automated branches like Dependabot or Renovate.

Time Window

How far back should GitSpectra look for changes?

{
  "gitspectra.scope.timeWindow": "14d"
}

Screenshot

Time window configuration setting

Supported Formats

7d

7 days

2w

2 weeks

1m

1 month

30d

30 days

Recommendations

Team SizeSuggested Window
Small (2-5)30d
Medium (5-15)14d
Large (15+)7d
High velocity3d

Author Filtering

Only check commits from specific people:

{
  "gitspectra.scope.authors": [
    "alice@company.com",
    "bob@company.com"
  ]
}

Screenshot

Author filter configuration showing specific team members

Use Cases

  • Small team within large org: Only track your immediate team
  • Specific collaborator: Watch one person's changes closely
  • Self-only: Set to your own email to see where you might conflict with yourself

Exclude Authors

{
  "gitspectra.scope.excludeAuthors": [
    "bot@ci.com",
    "dependabot[bot]@users.noreply.github.com"
  ]
}

Ignore commits from bots and automation.

Configuration Methods

VS Code Settings

Use the Settings UI or settings.json:

{
  "gitspectra.scope.branches": ["origin/main"],
  "gitspectra.scope.timeWindow": "14d",
  "gitspectra.scope.authors": []
}

Team Configuration File

Share settings via .gitspectra.json:

{
  "scope": {
    "branches": ["origin/main", "origin/develop"],
    "excludeBranches": ["origin/dependabot/*"],
    "timeWindow": "14d"
  }
}

See Team Configuration for details.

Practical Examples

Frontend Team

{
  "scope": {
    "branches": ["origin/main", "origin/develop"],
    "authors": ["@frontend-team"],
    "timeWindow": "7d"
  }
}

Monorepo with Multiple Teams

{
  "scope": {
    "branches": ["origin/main"],
    "excludeBranches": ["origin/team-*"],
    "timeWindow": "14d"
  }
}

Personal Development

{
  "scope": {
    "branches": ["origin/main"],
    "excludeAuthors": ["dependabot[bot]"],
    "timeWindow": "30d"
  }
}

High-Velocity Project

{
  "scope": {
    "branches": ["origin/main"],
    "timeWindow": "3d",
    "authors": ["alice@company.com", "bob@company.com"]
  }
}

Performance Impact

Narrower scope = faster analysis:

ScopePerformance Impact
All branches, 30 daysSlower
Main only, 14 daysModerate
Main only, 7 days, team filterFast

For very large repos, consider aggressive filtering.

Ready to prevent merge conflicts?

GitSpectra is free and open source.

Install for VS Code