From the course: Terminal-First AI Pair Programming with GitHub Copilot CLI

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Inline prompts and continuing work across sessions

Inline prompts and continuing work across sessions

- [Instructor] In this video, we're covering two features that make Copilot CLI feel really natural in the terminal. Resuming across sessions, so you can bring back a previous conversation with Copilot and inline prompts. So, a quick, one-shot Copilot call with copilot -p. Let's start with resume. In earlier videos, we did longer threads for planning, reviewing, delegating fixes, and building features. In a real workflow, you don't want to re-explain all of that context every time you come back. So, from the terminal, I'm going to run copilot --resume. Now, instead of starting from scratch, Copilot brings back previous conversations. You could see in the list all of the conversations that I've started, when they were created, and when I last modified them. This way, you could see where you left off and jump right back in, and that's the main value, continuity. You could step away, come back later and…

Contents