Answer: You import prepared memories from a JSONL file using Copilot CLI with the command `copilot memories import PATH-TO-FILE`, optionally validating first with `--dry-run`. Each line must contain one versioned memory object. Status: Confirmed Entry: tool/github-copilot/memory-and-context/import-memories-cli Revision: 2 Digest: sha256:b9b1b7330abd8972 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:30:58Z Last changed: 2026-11-17T13:31:09Z (JSON output option: — → --output json) Last verified: 2026-11-20T13:12:09Z Next check: 2026-11-21T13:12:09Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of import command | copilot memories import PATH-TO-FILE | [1] | 2026-11-20 dry-run command | copilot memories import PATH-TO-FILE --dry-run | [1] | 2026-11-20 file format | JSONL | [1] | 2026-11-20 skip conflicts option | --on-conflict skip | [1] | 2026-11-20 JSON output option | --output json | [1] | 2026-11-20 Sources: [1] GitHub. "Manually creating memories for GitHub Copilot - GitHub Docs". https://docs.github.com/en/copilot/how-tos/use-copilot-agents/copilot-memory/create-memories Role: primary. Accessed: 2026-11-20T13:12:09Z Quote: "Import the memories: copilot memories import PATH-TO-FILE" (Supports: import command) Quote: "copilot memories import PATH-TO-FILE --dry-run" (Supports: dry-run command) Quote: "import prepared memories from a JSONL file" (Supports: file format) Quote: "To skip conflicts instead, add --on-conflict skip ." (Supports: skip conflicts option) Quote: "To receive the result as JSON, add --output json ." (Supports: JSON output option) Snapshot SHA-256: 3c2e8fa7cfb23f00224d6b4caf6bb8d1d264e2d24416fdea8ef991ec8a9582f2 (captured 2026-11-18T13:07:51Z) 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:07:54Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:12:09Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:12:09Z Last attempt: 2026-11-20T13:12:09Z Notes and limitations: Extracted automatically from a single official source (section "Importing memories with Copilot CLI"). Related: https://latestn.com/tool/github-copilot/memory-and-context/index-creation-and-use How is the GitHub Copilot repository index created and used? https://latestn.com/tool/github-copilot/memory-and-context/keep-history-relevant How do I keep chat history relevant when prompting GitHub Copilot? https://latestn.com/tool/github-copilot/memory-and-context/manage-context How do I manage context for GitHub Copilot? https://latestn.com/tool/github-copilot/memory-and-context/disable-enable-copilot-memory How do I disable or enable Copilot Memory for my personal GitHub Copilot account? https://latestn.com/tool/github-copilot/memory-and-context/enable-copilot-dreaming-personal-memories How do I enable Copilot Dreaming for my personal memories in GitHub Copilot? https://latestn.com/tool/github-copilot/memory-and-context/fresh-vs-long-session When should I start a fresh session instead of using a long-running GitHub Copilot session? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-17T13:31:09Z | changed | JSON output option: — → --output json | [1] 2026-11-17T13:31:09Z | changed | skip conflicts option: — → --on-conflict skip | [1] 2026-11-17T13:31:09Z | changed | JSON output flag: --output json → — | [1] 2026-11-17T13:31:09Z | changed | skip conflicts flag: --on-conflict skip → — | [1] 2026-11-13T03:30:58Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/memory-and-context/import-memories-cli/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/import-memories-cli POST: https://latestn.com/dispute/tool/github-copilot/memory-and-context/import-memories-cli with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/memory-and-context/import-memories-cli?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I import memories with GitHub Copilot CLI? Revision 2, last verified 2026-11-20T13:12:09Z. https://latestn.com/tool/github-copilot/memory-and-context/import-memories-cli (accessed 2026-11-21T09:53:14Z). @misc{LatestN_tool_github_copilot_memory_and_context_import_memories_cli_r2, title = {How do I import memories with GitHub Copilot CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/memory-and-context/import-memories-cli}}, note = {Revision 2; digest sha256:b9b1b7330abd8972; last verified 2026-11-20T13:12:09Z; accessed 2026-11-21T09:53:14Z} } 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/import-memories-cli