# How to index a "reference" repository and apply to duplicates?

**URL:** <https://forum.cursor.com/t/how-to-index-a-reference-repository-and-apply-to-duplicates/86625>\
**Category:** Help\
**Created:** [May 5, 2025, 4:22pm UTC](https://forum.cursor.com/t/how-to-index-a-reference-repository-and-apply-to-duplicates/86625 "2025-05-05T16:22:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fdcavalcanti](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/fdcavalcanti/32/51947_2.png) [@fdcavalcanti](https://forum.cursor.com/u/fdcavalcanti)\
**Post date:** [May 5, 2025, 4:22pm UTC](https://forum.cursor.com/t/how-to-index-a-reference-repository-and-apply-to-duplicates/86625/1 "2025-05-05T16:22:22Z")

</div>

Hi all, I’ve been trying to find an answer to this but seems I’m mostly alone.

I work mostly on a big repository, which I have cloned in four different directories. Basically, I have project1/, project2/, project3/ and project4/. Sometimes I have 2 or 3 Cursor windows opened, one to each directory.

Is it possible to run a code base indexing on project0/ and reuse it on the other four? They all share the same source code and are only different in their active branches.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/127254_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [June 18, 2026, 10:41am UTC](https://forum.cursor.com/t/how-to-index-a-reference-repository-and-apply-to-duplicates/86625/2 "2026-06-18T10:41:03Z")

</div>

Closed on June 18, 2026, 10:41am UTC


