REA .gitattributes notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

.gitattributes pins path attribute identity (text/eol, sometimes LFS/linguist). In REA 6.7.x, treat selected attribute pins as Evidence beside archive/package routes — complementing rea-gitignore-patterns and rea-codeowners.

Mental model

  1. Authorize the .gitattributes (+ artifacts you hold).
  2. Quote selected path → attribute pins you actually see.
  3. gitignore cousin → rea-gitignore-patterns; CODEOWNERS cousin → rea-codeowners.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. Do not invent a gitattributes API REA never called.

Minimal path

# authorized .gitattributes (+ artifact you hold)
# quote selected attribute pins into case notes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_gitattributes .

Compare

ArtifactHonest posture
.gitattributesAttribute-pin identity facts
gitignore cousinrea-gitignore-patterns
CODEOWNERS cousinrea-codeowners
Evidence binderrea-evidence-explained

Scope we will not cover

  • No inventing inspect_gitattributes / automatic attribute rewrites.
  • No credential theft from LFS / remote secrets.
  • No pirate redistribution of paid artifacts.
  • No crack framing via attribute pins.

RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.

FAQ

How is this different from rea-gitignore-patterns / rea-codeowners?

Those pages cover ignore patterns and ownership. This page zooms on .gitattributes pins as Evidence — it does not overwrite those pages.

Is there inspect_gitattributes in 6.7.0?

Not assumed. Quote attribute pins you actually open, then use documented package/archive lanes. Do not invent inspect_gitattributes.

Does REA rewrite attributes or steal LFS credentials?

No. Local trees only. Do not treat REA as a git attribute rewriter; redact secrets in Evidence.

text/eol vs linguist / LFS attributes?

Label Evidence by the attribute family you actually saw. Keep notes honest about what was present.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources