Answer: Use the /session slash command in an interactive CLI session: /session delete deletes the current session, /session delete SESSION-ID deletes a specific session, /session delete-all deletes all local sessions except the current one, and /session prune --older-than DAYS deletes sessions older than the specified number of days. You can also manually delete the relevant session directory from ~/.copilot/session-state/, and synced data must be deleted from GitHub.com. Status: Confirmed Entry: tool/github-copilot/privacy-and-data/delete-session-data Revision: 3 Digest: sha256:8bb0cd4d3c00bba2 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:24:38Z Last changed: 2026-11-18T12:57:34Z (prune command: — → /session prune --older-than DAYS) Last verified: 2026-11-20T13:03:12Z Next check: 2026-11-21T13:03:12Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of delete current session command | /session delete | [1] | 2026-11-20 delete specific session command | /session delete SESSION-ID | [1] | 2026-11-20 delete all local sessions command | /session delete-all | [1] | 2026-11-20 prune command | /session prune --older-than DAYS | [1] | 2026-11-20 local session directory | ~/.copilot/session-state/ | [1] | 2026-11-20 synced data deletion location | GitHub.com | [1] | 2026-11-20 Sources: [1] GitHub. "Using GitHub Copilot CLI session data - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-cli/use-copilot-cli/chronicle Role: primary. Accessed: 2026-11-20T13:03:12Z Quote: "/session delete deletes the current session and starts a new one in its place." (Supports: delete current session command) Quote: "/session delete SESSION-ID deletes a specific session." (Supports: delete specific session command) Quote: "/session delete-all deletes all of your local sessions except the current one." (Supports: delete all local sessions command) Quote: "/session prune --older-than DAYS deletes sessions older than the specified number of days." (Supports: prune command) Quote: "delete the relevant session directory from ~/.copilot/session-state/" (Supports: local session directory) Quote: "You can delete or hide synced CLI sessions from GitHub.com." (Supports: synced data deletion location) Snapshot SHA-256: e1faed3f6210e377e149f0b1994cdbbd4e55b642c84e652c185cbadc9d60afb3 (captured 2026-11-18T12:57:31Z) 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-18T12:57:34Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:03:12Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:03:12Z Last attempt: 2026-11-20T13:03:12Z Notes and limitations: Extracted automatically from a single official source (section "Deleting sessions"). Related: https://latestn.com/tool/github-copilot/privacy-and-data/disable-telemetry How do I disable client-side telemetry in GitHub Copilot CLI? https://latestn.com/tool/github-copilot/privacy-and-data/export-delete-user-preferences How do I export or delete user-level preferences for GitHub Copilot Memory in an enterprise or organization? https://latestn.com/tool/github-copilot/privacy-and-data/hooks-audit-redact How do I set up GitHub Copilot SDK hooks for auditing and redacting secrets? https://latestn.com/tool/github-copilot/privacy-and-data/conversation-history-retention-copilot-chat How does conversation history and retention work in GitHub Copilot Chat? https://latestn.com/tool/github-copilot/privacy-and-data/data-protection-industry-comparisons How does GitHub Copilot protect my data in industry comparisons? https://latestn.com/tool/github-copilot/privacy-and-data/data-sent-to-github What data does GitHub Copilot send to GitHub when content exclusion is configured? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T12:57:34Z | changed | prune command: — → /session prune --older-than DAYS | [1] 2026-11-18T12:57:34Z | changed | prune older sessions command: /session prune --older-than DAYS → — | [1] 2026-11-18T12:57:34Z | changed | simplest deletion method: /session → — | [1] 2026-11-17T13:19:36Z | changed | simplest deletion method: — → /session | [1] 2026-11-13T03:24:38Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/privacy-and-data/delete-session-data/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/privacy-and-data/delete-session-data POST: https://latestn.com/dispute/tool/github-copilot/privacy-and-data/delete-session-data with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/privacy-and-data/delete-session-data?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I delete GitHub Copilot CLI session data? Revision 3, last verified 2026-11-20T13:03:12Z. https://latestn.com/tool/github-copilot/privacy-and-data/delete-session-data (accessed 2026-11-21T09:52:56Z). @misc{LatestN_tool_github_copilot_privacy_and_data_delete_session_data_r3, title = {How do I delete GitHub Copilot CLI session data?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/privacy-and-data/delete-session-data}}, note = {Revision 3; digest sha256:8bb0cd4d3c00bba2; last verified 2026-11-20T13:03:12Z; accessed 2026-11-21T09:52:56Z} } 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/privacy-and-data/delete-session-data