Answer: On GitHub, navigate to github.com/copilot, then in the text box click Add repositories, files, and spaces and click Repositories, then search for and select the repository you want to explore. Status: Confirmed Entry: tool/github-copilot/memory-and-context/attach-repository-in-chat Revision: 1 Digest: sha256:8edab7863371f24f (changes whenever the content changes) Timeline: Created: 2026-11-13T03:34:23Z Last changed: 2026-11-13T03:34:23Z Last verified: 2026-11-20T13:16:45Z Next check: 2026-11-21T13:16:45Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of URL | github.com/copilot | [1] | 2026-11-20 Menu option | Add repositories, files, and spaces | [1] | 2026-11-20 Sub-option | Repositories | [1] | 2026-11-20 Final step | Search for and select the repository you want to explore | [1] | 2026-11-20 Sources: [1] GitHub. "Using GitHub Copilot to explore a codebase - GitHub Docs". https://docs.github.com/en/copilot/tutorials/explore-a-codebase Role: primary. Accessed: 2026-11-20T13:16:45Z Quote: "On GitHub, navigate to github.com/copilot ." (Supports: URL) Quote: "In the text box, click Add repositories, files, and spaces , then click Repositories ." (Supports: Menu option) Quote: "then click Repositories ." (Supports: Sub-option) Quote: "Search for and select the repository you want to explore." (Supports: Final step) Snapshot SHA-256: 231e0f351413408e2a8ed2f2fd0c83c6468ed6a95879ed5af77c473c9db3c890 (captured 2026-11-18T13:13:32Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:13:30Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:16:45Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:16:45Z Last attempt: 2026-11-20T13:16:45Z Notes and limitations: Extracted automatically from a single official source (section "Attaching a repository in chat"). Related: https://latestn.com/tool/github-copilot/memory-and-context/check-context-usage How do I check my context usage in GitHub Copilot? https://latestn.com/tool/github-copilot/memory-and-context/choose-repos-files-as-context How do I choose repositories or files as context in GitHub Copilot Spaces? https://latestn.com/tool/github-copilot/memory-and-context/compact-long-cli-sessions How do I compact long GitHub Copilot CLI sessions that I want to continue? https://latestn.com/tool/github-copilot/memory-and-context/apply-custom-instructions-agent How do I apply my repository's custom instructions to a custom agent in GitHub Copilot CLI? https://latestn.com/tool/github-copilot/memory-and-context/approve-memory-updates-cli How do I approve memory updates in GitHub Copilot CLI? https://latestn.com/tool/github-copilot/memory-and-context/ask-copilot-to-remember-fact How do I ask GitHub Copilot to remember a fact or preference? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:34:23Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/memory-and-context/attach-repository-in-chat/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/memory-and-context/attach-repository-in-chat POST: https://latestn.com/dispute/tool/github-copilot/memory-and-context/attach-repository-in-chat with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/memory-and-context/attach-repository-in-chat?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I attach a repository in GitHub Copilot Chat to give it repository context? Revision 1, last verified 2026-11-20T13:16:45Z. https://latestn.com/tool/github-copilot/memory-and-context/attach-repository-in-chat (accessed 2026-11-21T10:00:05Z). @misc{LatestN_tool_github_copilot_memory_and_context_attach_repository_in_chat_r1, title = {How do I attach a repository in GitHub Copilot Chat to give it repository context?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/memory-and-context/attach-repository-in-chat}}, note = {Revision 1; digest sha256:8edab7863371f24f; last verified 2026-11-20T13:16:45Z; accessed 2026-11-21T10:00:05Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/memory-and-context/attach-repository-in-chat