rtk-ai/rtk

rtk grep should ignore .claude/worktrees

Open

#2.147 geöffnet am 28. Mai 2026

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Rust (2.914 Forks)batch import
area:clienhancementgood first issuehelp wantedpriority:medium

Repository-Metriken

Stars
 (48.085 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 8T 17h) (49 gemergte PRs in 30 T)

Beschreibung

Claude Code creates worktrees in the folder .claude/worktrees. When I run rtk grep, it also grips the git worktrees in this folder. This is problematic, since these folders are out of scope for any agentic session.

rtk grep should automatically skip this folder - at least, when used together with Claude Code.

I think git grep and rg are ignoring .gitignore

Contributor Guide