Skip to content
zero2vibecodelearn vibe coding
Level 0 · Session control 4 min Reviewed by the author · Oct 15, 2026 Verified against Claude Code v2.1.292 · Oct 15, 2026Official docs: SessionsSomething out of date? Tell us

Getting back to a conversation: --continue and /resume

Closed the terminal in the middle of a task? The conversation is not lost. claude --continue opens the most recent conversation in this folder, and /resume lets you pick any earlier one.

Level 0 · 0 / 4 lessons0%
In this lesson

You were working on a task, closed the laptop, and opened a new terminal in the morning. You do not have to explain everything to Claude again: conversations are saved, and you can go back to them.

claude --continue — the most recent conversation

In the project root, type:

claude --continue

or, shorter:

claude -c

Claude Code opens the most recent conversation in this folder — with the whole history. The word “folder” matters: conversations are tied to the directory you started Claude in. Start it from another folder and you get that folder’s most recent conversation, not the one you wanted.

/resume — pick any of them

If the most recent conversation is not the right one, type this inside a session:

/resume

A list of past conversations opens — choose one with the arrow keys. This is also how you get back to a conversation you closed with /clear: clearing does not delete the old conversation, it just starts a new one.

The pro rhythm

Put together with the previous lessons, you get a simple cycle:

  1. Started a task — new session.
  2. The window fills up, same task — /compact.
  3. Task done — /clear.
  4. Need to go back to earlier work — claude --continue or /resume.

Quick check

You ran claude --continue, but the wrong conversation opened. Why could that be?

Careful

Practice in the terminal

Check your understanding

Answered 0/3
Mode:

What does claude --continue do?

How do you pick an earlier conversation rather than the most recent one?

You rolled back an edit with /rewind, then went back to the conversation with /resume. Claude sees that edit in the conversation and offers to make it again. What do you do?

Finish the task in the terminal and answer the questions to complete the lesson.

📝 My notes

Saved automatically in this browser · shows up on the Notes page.

Task

Yesterday you left a task unfinished and closed the terminal. Get back to the most recent conversation in this folder with one command.

Tab complete · ↑ history · Ctrl+L clear · help commands

  • Not done: Opened the most recent conversation
  • Not done: Claude Code went back to the conversation

Lesson Q&A

What does claude --continue do?

Opens the most recent conversation in the current folder — --continue (or -c) brings back the most recent conversation in this particular folder — which is why you should run it from the project root.

How do you pick an earlier conversation rather than the most recent one?

With /resume — it shows a list of past conversations — /resume with no arguments opens the list of past conversations, and you pick the one you need.

You rolled back an edit with /rewind, then went back to the conversation with /resume. Claude sees that edit in the conversation and offers to make it again. What do you do?

Decline — the files are as the rewind left them, while the saved conversation still contains the edit — The conversation may have been saved before the rewind, so the edit is visible in it. But the files are already rolled back — check git status and do not let it redo what you undid.

You ran claude --continue, but the wrong conversation opened. Why could that be?

--continue takes the most recent conversation of the folder you are in. Move to the root of the right project, or pick the conversation through /resume.

Commands in this lesson

Move between lessons with ← → · search with ⌘K

Written and reviewed by Mikhail Kuzmitskii