31 tools· updated nov 2026

Gemini CLI checkpointing: general.checkpointing.enabled, /restore, and "No saved conversation checkpoints found"

Marek.

  • gemini-cli
  • coding-agents
  • git

Gemini CLI checkpointing saves a snapshot of your project before an AI edit, so /restore can roll the files and the conversation back. It is off by default. You turn it on with general.checkpointing.enabled in settings.json. There is no command line flag. This post is for people who know checkpoints from Claude Code. I do not run Gemini CLI. Everything here comes from the docs and the v0.67.0 source, read on 6 November 2026.

{
  "general": {
    "checkpointing": {
      "enabled": true
    }
  }
}
/restore
/restore 2025-06-22T10-00-00_000Z-my-file.txt-write_file
  • Switch. general.checkpointing.enabled in settings.json. The --checkpointing flag was removed in 0.11.0, per the docs.
  • Trigger. A write_file or replace call that waits for your approval. Shell commands do not create one.
  • What is saved. A commit in a shadow Git repo, the conversation, and the pending tool call.
  • The error. "No saved conversation checkpoints found" comes from /chat list, not from /restore.
  • How I know. Docs and code only. No session of my own.

Per the repository README, read on 6 November 2026, unpaid tier and Google One users moved from Gemini CLI to Antigravity CLI on 18 June 2026. This post covers Gemini CLI only.

My Claude Code checkpoints post covers rewind on the Claude Code side. This is the Gemini CLI side.

What is checkpointing in Gemini CLI?

Checkpointing in Gemini CLI is an automatic save point before a file edit. The checkpointing page lists three parts. A Git snapshot of the project files. The conversation up to that moment. The tool call that was about to run. /restore brings back all three.

The README describes the feature as "Save and resume conversations". That line undersells it. The page it links to is mainly about files.

How do I enable checkpointing in Gemini CLI?

Set general.checkpointing.enabled to true in settings.json and restart. The docs say the feature "is disabled by default". In the v0.67.0 settings schema the default is false and the setting is marked requiresRestart. I found no --checkpointing option in packages/cli/src/config/config.ts.

Git has to be installed. Without it, gitService.ts stops with "Checkpointing is enabled, but Git is not installed."

How do I create or save a checkpoint in Gemini CLI?

You don't, at least not by hand. Gemini CLI writes one itself when a write_file or replace call is waiting for your approval. In useGeminiStream.ts the filter is those two tool names plus the status AwaitingApproval.

That status matters. In the scheduler, a tool call only reaches AwaitingApproval when the policy says ask. My reading of the code is that an edit approved without a prompt, as in YOLO mode, gets no checkpoint. I have not run it. YOLO itself is in Gemini CLI YOLO mode.

The thing you can save by hand is a conversation. /chat save <tag> stores the chat history under a name. It stores no files. The docs call these "manual tagged checkpoints". That shared word is the root of most confusion.

How does /restore work in Gemini CLI?

Type /restore on its own and you get the list of saved checkpoints; add a name, /restore <name>, and it rolls back to that one. Each name is built from a timestamp, the file name and the tool name. With an empty folder, the code replies "No restorable tool calls found." The command exists only when checkpointing is on. With it off, restoreCommand.ts does not register it.

A restore does three things in the source. It loads the saved conversation. It runs git restore --source <commit> . against your project through the shadow repo. Then it runs git clean -f -d. The code comment says that "removes any untracked files that were introduced post snapshot". Last, the original tool call comes back for approval.

So a restore covers the whole working tree, not one file. Your own edits made after the snapshot go too. Files matched by your project's .gitignore are left alone. The shadow repo uses your project folder as its work tree, so Git reads that file there.

Why does Gemini CLI say "No saved conversation checkpoints found"?

Gemini CLI prints "No saved conversation checkpoints found." when /chat list or /resume list finds no manually saved chats for the current project. So it has nothing to do with /restore. In v0.67.0 that string lives in ChatList.tsx, and you see it once there are zero checkpoint-*.json files in the project's temp folder.

Three causes from the docs and the code. None reproduced.

You never ran /chat save. Automatic snapshots do not appear in this list. Use /restore for those.

Wrong folder. The docs say saved chats are project-scoped. A chat saved in another directory will not show.

Auto sessions. Gemini CLI also saves every session on its own. Those live under chats/ and open with /resume alone, the session browser. /chat list does not read them.

Where does Gemini CLI store checkpoints?

Per the docs, the shadow repo lives in ~/.gemini/history/<project_hash>. The tool call JSON files go to ~/.gemini/tmp/<project_hash>/checkpoints. Saved chats from /chat save sit one level up, as checkpoint-<tag>.json.

The v0.67.0 source names the folder differently. storage.ts uses a short slug from the project folder name, kept in projects.json, and migrates old hash folders to it. Under macOS Seatbelt the runtime folder moves to ~/.cache/.gemini. Inside a Docker or Podman sandbox, /home/node/.gemini maps to a temp folder on the host, and the launcher deletes that folder on cleanup. My reading: checkpoints made inside a container do not outlive it. The sandbox switches are in Gemini CLI sandbox.

How does Gemini CLI checkpointing compare with Claude Code checkpoints?

Gemini CLI snapshots the whole project before a prompted edit. Claude Code tracks its own edits per prompt. The Claude Code column comes from its checkpointing docs, read on 6 November 2026.

Gemini CLI 0.67.0Claude Code
Switchgeneral.checkpointing.enabled, off by defaultAutomatic
CreatedBefore a prompted write_file or replaceBefore each prompt that starts a turn
Rollback/restore <name>/rewind or Esc twice
Choice/restore: files and conversation together (/rewind offers a choice, not traced)Code, conversation or both
Shell writesRolled back with the whole treeOnly in files its edit tools touched first
New files after the snapshotRemoved by git cleanNot stated in the docs

The Gemini CLI commands reference also lists /rewind, with a choice of history, code or both. I haven't followed that one through the code.

Frequently asked questions

Is there a --checkpointing flag in Gemini CLI?

No. The docs say the --checkpointing flag was removed in version 0.11.0. In v0.67.0 the only switch is general.checkpointing.enabled in settings.json.

Does /restore undo shell commands in Gemini CLI?

Partly. A shell command never creates a checkpoint. But a restore puts the whole working tree back to the snapshot, so later shell writes inside the project are rolled back too. In v0.67.0, files matched by your project's .gitignore and anything outside the project stay as they are. As I read the code, files ignored only through the project's .git/info/exclude are not protected, since the shadow repo has its own Git folder.

What is the difference between /restore and /chat resume?

/restore rolls back files and conversation from an automatic snapshot. /chat resume <tag> loads only a conversation you saved with /chat save.

Did you test this?

No. Gemini CLI is not installed on my machine. I read the checkpointing, commands and session management pages and the v0.67.0 source on 6 November 2026. Per the README, unpaid tier and Google One users now get Antigravity CLI. I did not check its checkpoints.

The verdict

If you use Gemini CLI, I would turn checkpointing on and keep committing anyway. The snapshot only fires on a prompted edit. A restore rewinds the whole tree and deletes new files. If you saw "No saved conversation checkpoints found", you were in /chat list. Use /restore.

Sources, read on 6 November 2026: the Gemini CLI checkpointing page, commands reference and session management page, plus the README. Code from google-gemini/gemini-cli at tag v0.67.0, mainly packages/core/src/services/gitService.ts, packages/core/src/utils/checkpointUtils.ts, packages/cli/src/ui/commands/restoreCommand.ts, chatCommand.ts, ChatList.tsx, useGeminiStream.ts, packages/core/src/config/storage.ts, packages/core/src/config/projectRegistry.ts and packages/cli/src/utils/sandbox.ts. The Claude Code column comes from the Claude Code checkpointing docs.