From 6fdadfa1fb0051c27b084c4d8b2d17383bcaf6de Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Mon, 12 Jan 2026 21:37:13 -0600 Subject: [PATCH] Add Resume Specific Session as a Claude Code TIL --- README.md | 3 ++- claude-code/resume-specific-session.md | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 claude-code/resume-specific-session.md diff --git a/README.md b/README.md index fdcbae5..daea6bb 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ working across different projects via [VisualMode](https://www.visualmode.dev/). For a steady stream of TILs, [sign up for my newsletter](https://visualmode.kit.com/newsletter). -_1725 TILs and counting..._ +_1726 TILs and counting..._ See some of the other learning resources I work on: @@ -161,6 +161,7 @@ If you've learned something here, support my efforts writing daily TILs by - [Allow Edits From The Start](claude-code/allow-edits-from-the-start.md) - [Monitor Usage Limits From CLI](claude-code/monitor-usage-limits-from-cli.md) - [Open Current Prompt In Default Editor](claude-code/open-current-prompt-in-default-editor.md) +- [Resume Specific Session](claude-code/resume-specific-session.md) ### Clojure diff --git a/claude-code/resume-specific-session.md b/claude-code/resume-specific-session.md new file mode 100644 index 0000000..4a57b34 --- /dev/null +++ b/claude-code/resume-specific-session.md @@ -0,0 +1,22 @@ +# Resume Specific Session + +There are a few different ways to resume a [Claude +Code](https://code.claude.com/docs/en/overview) session. + +First, if I have exited a session for the current project and I want to pick +back up with that most recent one, then I can use `claude --continue`. + +If I have had a few recent sessions for the current project and I want to +remember what they were and pick up where I left off with one of them, then I +can use `claude --resume` (with no argument). That will open a picker where I +can browser through a summary of the recent sessions based on their starting +prompt. The one I pick is the session that will be resumed. + +Finally, if I have grabbed a specific session ID (UUID) during the session from +the `/status` output, then I can reference that value directly. + +```sh +$ claude --resume 92170532-be31-4a91-b2a9-025b8fa78232 +``` + +See `claude --help` for more details.