mirror of
https://github.com/jbranchaud/til
synced 2026-01-16 13:38:02 +00:00
Add Resume Specific Session as a Claude Code TIL
This commit is contained in:
@@ -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).
|
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:
|
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)
|
- [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)
|
- [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)
|
- [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
|
### Clojure
|
||||||
|
|
||||||
|
|||||||
22
claude-code/resume-specific-session.md
Normal file
22
claude-code/resume-specific-session.md
Normal file
@@ -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.
|
||||||
Reference in New Issue
Block a user