# Nested git worktrees load duplicate .cursor/rules into context — please dedupe or let us scope rule discovery

**URL:** <https://forum.cursor.com/t/nested-git-worktrees-load-duplicate-cursor-rules-into-context-please-dedupe-or-let-us-scope-rule-discovery/163712>\
**Category:** Bug Reports\
**Tags:** context, worktrees, rules\
**Created:** [June 20, 2026, 10:20pm UTC](https://forum.cursor.com/t/nested-git-worktrees-load-duplicate-cursor-rules-into-context-please-dedupe-or-let-us-scope-rule-discovery/163712 "2026-06-20T22:20:04Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [June 22, 2026, 2:17pm UTC](https://forum.cursor.com/t/nested-git-worktrees-load-duplicate-cursor-rules-into-context-please-dedupe-or-let-us-scope-rule-discovery/163712/5 "2026-06-22T14:17:59Z")

</div>

Hey @danpe!

Thanks for reporting. This is a known issue.

> [@Bug Report: Always-applied rules duplicated across workspace roots in multi-root workspaces](https://forum.cursor.com/t/bug-report-always-applied-rules-duplicated-across-workspace-roots-in-multi-root-workspaces/151165/3):
>
> Hey, thanks for the detailed report. Cursor loads rules from each workspace root separately, with no deduplication. As a temporary workaround, you can keep .cursor/rules/ in just one worktree and remove it from the others in the workspace. It’s not ideal because you lose rule coverage when you open those worktrees on their own, but for now it reduces extra token usage.

I’ve attached your report to the existing bug ticket.

---

_[View the full topic](https://forum.cursor.com/t/nested-git-worktrees-load-duplicate-cursor-rules-into-context-please-dedupe-or-let-us-scope-rule-discovery/163712)._
