Gemini CLI's /restore Deletes Files Git Was Never Told to Track — If You Excluded Them via .git/info/exclude
This story is from 2026-10-25. It is preserved in the archive; the latest stories are on the live feed.
Gemini CLI's checkpoint feature keeps its own shadow Git repository to snapshot and roll back project state. That shadow repo only reads .gitignore — it has no way to see .git/info/exclude or a user's global core.excludesFile . The result: /restore treats files kept out of version control through e…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-10-25 09:10 · DEV Community — AI
Gemini CLI's /restore Deletes Files Git Was Never Told to Track — If You Excluded Them via .git/info/exclude