Know where to look.
By Alvin
05 / Where do Gemini CLI and VS Code keep chats?
In Gemini CLI, open the project and type /resume to browse saved sessions, or run gemini --list-sessions in its project folder. In VS Code, look at the session list in the Chat view or Agents window. Use Chat: Export Chat... from the Command Palette if you want a local JSON copy.
Under the hood. Gemini’s CLI keeps sessions by project. VS Code groups sessions by workspace in the Chat view, with a wider list in the Agents window. Export saves a separate record. Treat it like project notes and review it before sharing. [30] [31] [32]
06 / Can I recover a chat I actually deleted?
Look for an export or backup you already saved. Archived chats can be reopened. A permanently deleted chat needs a separate saved copy. If you’re looking for the edits, open the project folder or its backup.
Under the hood. Archive moves or hides an existing record so you can reopen it. Deletion removes the record from ordinary recovery. A saved export can help you rebuild the brief in a new chat. Check Git, backups and the original project folder for the files. [24] [25] [26] [33]
