Skip to documentation content
Branchcut

Documentation map

Installation, tutorials, command reference, and contributor guides.

Start with installation or use the table to find a guide.

Choose by what you have

You haveStart withYou will learn
Branchcut installed and want a first resultYour first queryLiteral search, globs, exclusions, plans, and statistics
A monorepo and repeated file-selection workPlan a monorepo searchPrefix narrowing, pruning, limits, and saved profiles
Shell scripts, tools, or a coding agentAutomate a workflowJSON Lines, NUL output, native paths, commands, and exit behavior
A Rust application that needs file selectionUse Branchcut from RustQuery compilation, streaming visitors, cancellation, and parallelism
A command in mind and need the exact flagCLI referenceComplete option meanings and interactions
A source tree that is behaving unexpectedlyQuery planning--explain, --why, and real work counters

Learn the model

query input
    |
    v
compile patterns + exclusions + policy + filters + termination
    |
    v
narrow the root and prune impossible subtrees
    |
    v
stream native paths, diagnostics, and commands

Use the command

JobGuide
Find one filename without glob syntaxSimple search
Combine size, time, depth, and case filtersEveryday search
Compose patterns and exclusionsGlobs and exclusions
Understand hidden paths and .gitignore policyIgnore and hidden paths
Stream, count, sort, serialize, or execute commandsOutput and command execution
Save a query for repeated project useSaved project queries
Inspect why a path matched or was excludedQuery planning

Look up a fact

NeedReference
Every CLI option and allowed combinationCLI reference
Copy-ready common commandsCheat sheet
Supported wildcard grammarGlob syntax
Exit codes, strict mode, and broken pipesExit behavior
Implemented surface, alternatives, and gapsFeature status
Compatibility boundariesCompatibility
Product terminologyGlossary

Inspect the evidence

Work on Branchcut

  1. Read Verification before changing behavior.
  2. Read Benchmarking before making a performance claim.
  3. Read Documentation before adding a page or changing compatibility language.
  4. Check the Roadmap for features in development.
  5. Use the FAQ for recurring scope and integration questions.

On this page