Learning resourcesReviewed · GitHub

Working with multiple GitHub Copilot CLI sessions

This GitHub guide teaches Copilot CLI users to manage several AI coding conversations, but switching sessions leaves background work running. It explains local session switching, saved history, cloud-session access and the difference between stopping and permanently deleting a session.

Researched 15 Nov 2026

In short.

This GitHub guide helps developers manage several Copilot CLI conversations, but switching away from a session does not stop its work. It documents sidebar navigation, status indicators, saved-session recovery and access to cloud sessions through the Sessions tab. Its practical value is managing separate conversations while tasks continue in the background. Installation, pricing, minimum versions and protection against concurrent file edits are not established. The documented behavior has not been tested here.

Researched and written by an AI model and checked by a second AI model. How it works

The complete selected article is covered, including session contents, sidebar controls, status indicators, the Sessions tab, picker, startup options, active and inactive sessions, cloud delegation, stopping, permanent deletion and customization. Linked command-reference, session-data, delegation and best-practice pages are excluded. Their detailed settings, requirements and privacy information were not assessed. Installation, pricing, licensing, version compatibility, file isolation and actual runtime behavior remain unknown or untested.

The overview

Identity

Working with multiple GitHub Copilot CLI sessions is a GitHub documentation article about managing conversations in Copilot CLI. It is a feature guide for an existing coding assistant, rather than a standalone tool or installable extension.

The article focuses on the sessions sidebar, with additional instructions for the Sessions tab, session picker, startup options and session commands.

Assessment

The guide is useful for existing Copilot CLI users who need to move between tasks, monitor work awaiting attention or recover an earlier conversation. It provides specific controls and explains when to use each session interface.

Its most consequential distinction is between switching, stopping and deleting. Switching leaves a session running; /exit stops the current session while preserving it; pressing x twice in the sidebar permanently deletes the highlighted session, even if it is running. The article provides no measured productivity or performance results.

Users

The intended readers are developers already using Copilot CLI, particularly those handling an unrelated feature and bug fix, waiting for a build or test task, or following delegated cloud work.

Beginners get an explanation of what a session contains and how to navigate it. Experienced users get keyboard shortcuts, startup flags, sorting options and commands for inspecting session files, plans and checkpoints. Readers seeking initial installation or account setup need additional documentation.

Capabilities

The sidebar supports switching between recent and active local sessions while keeping the current conversation visible. It offers session creation, permanent deletion, sorting, resizing, mouse interaction and quick help. Status indicators distinguish processing, idle sessions, unseen completed turns, saved inactive sessions and requests for attention; ! marks a permission prompt and ? marks a question.

The Sessions tab adds searchable complete history, local/remote/all filtering and cloud-session access. The session picker supports saved-session selection, sorting and deletion. The article also lists commands for renaming, session details, changed files, plans, checkpoints and cleanup, although it does not explain every command in depth.

Using it

Requirements

The instructions assume an installed Copilot CLI and an interactive terminal session. Core navigation uses keyboard controls; mouse support is an additional option. Indicator colors depend on the terminal color scheme and the CLI theme, so the article recommends relying on shapes and attention markers.

The page does not specify a minimum CLI version, supported operating systems, installation steps, authentication requirements, required subscription, hardware needs or terminal compatibility guarantees.

Mechanism

A session contains prompts, responses, information supplied to the language model, tool activity and state such as the working directory, filesystem permissions, approvals and operating mode. An active session is running inside Copilot CLI, including when it is idle or in the background. An inactive session is saved on disk and can be resumed.

Local sessions have no inactivity timeout and remain active while their CLI process stays open. Quitting the CLI makes its local sessions inactive while preserving their saved history. Cloud delegation through /delegate or an & prompt runs independently on GitHub; those sessions appear in the Sessions tab and can be resumed locally.

Setup

The sidebar is available by default. With the conversation prompt empty, press the left arrow once to open it and again to focus it. Use the up and down arrows, or k and j, to select a session, then Enter to switch. The right arrow returns focus to the conversation and, when pressed again, closes the sidebar.

With the sidebar focused, n creates a session, s changes sorting and ? opens quick help. Enter /session to open the Sessions tab, or /resume or /continue to open the picker. Sidebar customization uses /settings sidebar.* commands, but the full settings list and defaults are on a linked reference outside this article.

Example

An illustrative workflow is to start a feature conversation with copilot --name "checkout refactor". While a long task runs there, focus the sidebar and press n to create another session for an unrelated bug. Select the feature session and press Enter when you want to return; switching does not pause its task.

Later, copilot --continue resumes the most recent session, while copilot --resume opens a chooser. A named session can be selected with copilot --resume="checkout refactor". These are examples based on the documented controls, not executed demonstrations.

Assessment & evidence

Limitations

The sidebar shows recent and live local sessions; it cannot search full history or show cloud sessions. Those tasks require the Sessions tab. Its status colors vary with terminal settings, and a session that looks idle is still active until stopped or its CLI process closes.

The page does not establish separate Git worktrees, filesystem isolation or conflict prevention between sessions editing the same files. Session limits, crash recovery and restoration of running work are not assessed. Permanent deletion removes the ability to resume that session.

Reasoning

The guide is most relevant when the difficulty is keeping track of several conversations. Its persistent sidebar and attention markers provide a documented way to monitor sessions without repeatedly hiding the current chat.

The distinction between active work and saved history helps explain why switching is convenient but does not control execution. The article supports conclusions about documented session controls; it does not establish improvements in coding accuracy, task completion speed or reliability.

Alternatives

Within Copilot CLI, choose the sidebar for frequent local switching with the conversation still visible. Choose the Sessions tab for searching older work, browsing complete history or accessing cloud sessions. Choose /resume or /continue for a command-driven picker.

Startup options offer another route: copilot --continue resumes the most recent session, and copilot --resume can select by ID, ID prefix or exact name. The evidence does not support a comparison with other coding assistants or terminal-management tools.

Evidence

The evidence is the complete GitHub documentation article at [https://docs.github.com/api/article/body?pathname=/en/copilot/how-tos/copilot-cli/use-copilot-cli/work-with-multiple-sessions], captured as selected-page.txt with a recorded size of 16,699 bytes.

Its supplied source revision is sha256:ba17d9c6f48d955b6b6c9b4eba32dd899edb6c556178b0224c46f73738b223b5. The article supports descriptions of documented controls and behavior. No software or commands were executed, and no runtime results or benchmarks are available.

Access & freshness

Costs

The article supplies no subscription prices, usage allowances, billing rules, rate limits or cloud-delegation charges. The cost of using this workflow is unknown, including whether running several sessions affects billed usage.

There are no resource measurements or stated concurrency limits from which to estimate the machine capacity needed for several active sessions.

Rights

The supplied article text does not state its licence or redistribution terms. Rights governing Copilot-generated output are also not established by this page.

Sessions include conversation content and tool activity, but retention periods, encryption, synchronization and access rules are not explained. The article links to separate session-data documentation whose contents are outside the supplied evidence.

Freshness

The supplied capture timestamp is 2026-11-15T13:12:11.290Z. This is an acquisition time, not an article publication or update date.

The page gives no CLI release number or compatibility range. The descriptions therefore reflect the captured documentation; compatibility with a particular installed release and subsequent changes are unknown.

Actions

For everyday local switching, learn the sidebar controls and give sessions recognizable names. Use /session when a saved session is missing from the recent list or when you need cloud history. Check that the controls are supported by your installed CLI version.

Use /exit when you intend to stop a session and retain its history. Reserve x twice for intentional permanent deletion. Before running concurrent editing tasks or delegating to the cloud, establish how shared files, account usage and session data are handled; this article does not answer those questions.

Evidence for this report

selected-page.txtselected · checked 2026-11-15