Resume your most recent session

sessions & context

// what it does

gemini --resume (or -r) with no argument reloads the last session for the current project, restoring the full chat history and memory so you can say "continue with the next step". Sessions are saved automatically and live under ~/.gemini/tmp/<project_hash>/chats/. They are project-specific: the hash is derived from the workspace root.

// shell

$ gemini --resume
$ gemini -r

// gotcha

Resume keys off the directory you are in, so cd-ing to a different project shows a different session list — run it from the same root where the work happened. Saved sessions are cleaned up after 30 days by default.

// resources