Skip to content

Instantly share code, notes, and snippets.

View Nogard-YT's full-sized avatar

Nogard Nogard-YT

View GitHub Profile
@gwpl
gwpl / claude-continue-directory-migration.md
Created June 2, 2025 19:38
Claude Code `--continue` after Directory `mv` move - Migration Guide and Internal Mechanics explanation

Claude Code Continue Functionality: Directory Migration Guide ( Claude Code --continue after Directory mv move - Migration Guide and Internal Mechanics explanation )

This guide explains how to preserve Claude Code's --continue functionality when moving project directories, along with the underlying mechanics.

Note: Claude Code currently lacks built-in directory migration features. Each directory maintains independent conversation sessions, and history doesn't automatically transfer when projects are moved.

Quick Fix: Steps to Maintain Continue History

When you move a project directory and want to preserve your conversation history:

#ifndef STDBOOL_H
#define STDBOOL_h
#define bool _Bool
#ifndef true
#define true 1
#endif
#ifndef false
#define false 0