Sessions can be paused without losing their conversation or workspace context. Leave a session, return to it later, and optionally make it available from another device.
In this lesson, you will:
- exit a session and resume it from the terminal.
- switch between sessions without leaving the CLI.
- optionally make a session available remotely.
Leave a session and come back later
- Exit the current Copilot CLI session when you are ready to switch tasks.
- From a terminal, run
copilot --resumeto pick a previous session. - Inside Copilot CLI, use
/resumeto switch between sessions without leaving the CLI. - Confirm that the restored session still has the expected files, issue context, and model.
Optional: Continue a session remotely
Run /remote to keep that same session running locally while making it available on the web and in the GitHub Copilot mobile app. Your machine needs to stay on. Open the link it returns in your browser, or access the session in the GitHub Copilot mobile app.
Summary and next steps
You can pause and resume sessions, and follow a local session from another device. Continue to Lesson 8: Create, review, and merge from the CLI.