Skip to content
ONECLICKTOOLINDEPENDENT STUDIO

Your Claude Session Is on the Other Mac. Now What?

You started the work on your desktop and now you're on the laptop, where the AI session doesn't exist. How to move between machines without losing context.

By · Oct 13, 2026 · 2 min read

RedditXLinkedInFacebook
A developer holds a laptop next to his desktop monitor, realizing the session he needs is on the other machine.
On this page · 7 sections
  1. The short answer
  2. Why the session doesn't follow you
  3. Plan for the session not being there
  4. Moving the session itself
  5. A two-minute switch routine
  6. Keep reading
  7. Frequently asked questions

You spent the morning on the desktop with a long, productive Claude session. Now you're at a café with the laptop. You pull the repo, open the terminal, type claude --resume… and the session isn't there. Of course it isn't. It's on the other Mac.

Part 5 of Working for the AI — the machine switch that turns you back into the agent's memory.

The short answer#

  • AI coding sessions live on the machine where they started, so switching from desktop to laptop leaves the conversation behind.
  • Anything that matters should already be in the repo — state file, decisions, next step — so a fresh session on the other machine can continue.
  • Push every repo before you switch machines, and pull fast-forward only when you arrive.
  • Moving the session itself is a bonus, not the plan; the state file is the plan.

Why the session doesn't follow you#

An AI coding session is stored on the machine that ran it. Your repo travels through git; the conversation doesn't. So on the second machine, you have the code but not the reasoning behind it — and you're the only one who remembers what was decided this morning.

Unless you wrote it down, you start re-explaining the project to a fresh session.

Plan for the session not being there#

The reliable fix is to make the session optional:

  1. Before leaving the first machine, ask the agent: "Update the state file with where we are, what we decided, and the next step."
  2. Commit and push every repo you touched. This is the step that fails most often — see uncommitted work across repos.
  3. On the second machine, pull (fast-forward only), start a new session, and point it at the state file.

If the state file is good, the new session continues almost as well as the old one would have.

Moving the session itself#

Sometimes you really want the exact conversation — a long debugging thread, say. You can copy session files between machines, but be careful:

  • Paths must match. Sessions are tied to the project's folder; a repo in a different location on the second machine won't pick them up.
  • Sessions can contain secrets. Keys, tokens and logs you pasted are in there. Only move them through something private you control, and check first.
  • It's still a bonus. If the move fails, the state file has you covered.

The same habits that help you find the right session on one machine — one task per session, the id noted next to the task — make moving them far less messy.

A two-minute switch routine#

Leaving: update state files → push every dirty repo. Arriving: pull every repo → open the task → resume or start a session from the state file. Two minutes each way, and nothing important stays behind.

Keep reading#

Frequently asked questions

Can I continue a Claude Code session on another computer?

Sessions are stored locally on the machine that ran them, so another computer doesn't see them by default. You can copy them over, but the reliable route is to keep project state in the repo so any new session can continue.

What should I do before switching from my desktop to my laptop?

Ask the agent to update the state file, then commit and push every repo you touched. Uncommitted work is the thing that doesn't travel.

Is it safe to sync AI chat sessions through git?

Only to a private repository you control, and only after checking for secrets — sessions can contain pasted keys, tokens or logs.

Sources

  1. git-status documentation — git-scm.com
  2. Common workflows — Claude Code docs

Found this useful? Share it on Reddit or pass it on.

RedditXLinkedInFacebook