# Connect github repo?

**URL:** <https://forum.cursor.com/t/connect-github-repo/1060>\
**Category:** Help\
**Created:** [October 13, 2023, 5:59pm UTC](https://forum.cursor.com/t/connect-github-repo/1060 "2023-10-13T17:59:55Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![will](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/will/32/8613_2.png) [@will](https://forum.cursor.com/u/will)\
**Post date:** [October 13, 2023, 5:59pm UTC](https://forum.cursor.com/t/connect-github-repo/1060/1 "2023-10-13T17:59:55Z")

</div>

Is there a way to connect a github repo for indexing? I thought I saw that but now I can not find it.

---

<div class="post-metadata">

**Author:** ![arvid220u](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/arvid220u/32/82089_2.png) [@arvid220u](https://forum.cursor.com/u/arvid220u)\
**Post date:** [October 14, 2023, 4:35am UTC](https://forum.cursor.com/t/connect-github-repo/1060/2 "2023-10-14T04:35:56Z")

</div>

Github repo isn’t available anymore! Right now we’ll just index from your local folder

---

<div class="post-metadata">

**Author:** ![will](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/will/32/8613_2.png) [@will](https://forum.cursor.com/u/will)\
**Post date:** [October 15, 2023, 9:04pm UTC](https://forum.cursor.com/t/connect-github-repo/1060/3 "2023-10-15T21:04:54Z")

</div>

got it, thank you

---

<div class="post-metadata">

**Author:** ![ssmits](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@ssmits](https://forum.cursor.com/u/ssmits)\
**Post date:** [November 7, 2023, 4:38pm UTC](https://forum.cursor.com/t/connect-github-repo/1060/4 "2023-11-07T16:38:13Z")

</div>

Is there a way to easily index a specific repo in order to limit the amount of files it has to search through which increases the accuracy of file retrieval in order to ask questions about it?

---

<div class="post-metadata">

**Author:** ![Jeremy](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@Jeremy](https://forum.cursor.com/u/Jeremy)\
**Post date:** [November 7, 2023, 4:48pm UTC](https://forum.cursor.com/t/connect-github-repo/1060/5 "2023-11-07T16:48:17Z")

</div>

No there isn’t, what you could do is go to the repo, go to the specific section that holds your information, copy that url and index it in cursor

---

<div class="post-metadata">

**Author:** ![umise\_tokikaze](https://avatars.discourse-cdn.com/v4/letter/u/3ec8ea/32.png) [@umise\_tokikaze](https://forum.cursor.com/u/umise_tokikaze)\
**Post date:** [November 7, 2023, 5:12pm UTC](https://forum.cursor.com/t/connect-github-repo/1060/6 "2023-11-07T17:12:48Z")

</div>

I think you can use the @docs loader and specify the url of the repository to load it

---

<div class="post-metadata">

**Author:** ![ssmits](https://avatars.discourse-cdn.com/v4/letter/s/aca169/32.png) [@ssmits](https://forum.cursor.com/u/ssmits)\
**Post date:** [November 7, 2023, 8:32pm UTC](https://forum.cursor.com/t/connect-github-repo/1060/7 "2023-11-07T20:32:16Z")

</div>

Thank you both! I will try both suggestions.

---

<div class="post-metadata">

**Author:** ![Jakob](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/jakob/32/93_2.png) [@Jakob](https://forum.cursor.com/u/Jakob)\
**Post date:** [November 7, 2023, 9:22pm UTC](https://forum.cursor.com/t/connect-github-repo/1060/8 "2023-11-07T21:22:19Z")

</div>

`@Docs` does not work well with indexing full GitHub repos.

If you only need single files from a repo like the README, you can copy the raw file URL and put that into @Docs.

Otherwise, I recommend downloading the repo and running it through the codebase indexing.

---

<div class="post-metadata">

**Author:** ![umise\_tokikaze](https://avatars.discourse-cdn.com/v4/letter/u/3ec8ea/32.png) [@umise\_tokikaze](https://forum.cursor.com/u/umise_tokikaze)\
**Post date:** [November 7, 2023, 9:52pm UTC](https://forum.cursor.com/t/connect-github-repo/1060/9 "2023-11-07T21:52:41Z")

</div>

Thanks for your addendum.

---

<div class="post-metadata">

**Author:** ![marckranat](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/marckranat/32/11776_2.png) [@marckranat](https://forum.cursor.com/u/marckranat)\
**Post date:** [November 14, 2024, 4:59am UTC](https://forum.cursor.com/t/connect-github-repo/1060/10 "2024-11-14T04:59:15Z")

</div>

boo

---

<div class="post-metadata">

**Author:** ![eilone](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/eilone/32/22351_2.png) [@eilone](https://forum.cursor.com/u/eilone)\
**Post date:** [January 30, 2025, 10:05am UTC](https://forum.cursor.com/t/connect-github-repo/1060/11 "2025-01-30T10:05:50Z")

</div>

> [@Jakob](#):
>
> If you only need single files from a repo like the README, you can copy the raw file URL and put that into @Docs.

Is there a way to add a private repo to cursor @Docs? because now, once I provide a GH URL, it’s stuck on Sign-In page and doesn’t actually read my files.

---

<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:26am UTC](https://forum.cursor.com/t/connect-github-repo/1060/12 "2026-06-18T10:26:08Z")

</div>

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


