gemini-cli - 💡(How to fix) Fix /init but if a GEMINI.md found, it will not run no matter what, even re-check the file [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
google-gemini/gemini-cli#26185Fetched 2026-04-30 06:44:47
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×1mentioned ×1subscribed ×1
RAW_BUFFERClick to expand / collapse

What happened?

/init but if a GEMINI.md found, it will not run no matter what, even re-check the file

[ACTION REQUIRED] 📎 PLEASE ATTACH THE EXPORTED CHAT HISTORY JSON FILE TO THIS ISSUE IF YOU FEEL COMFORTABLE SHARING IT.

What did you expect to happen?

  • Review the GEMINI.md
  • Review repository
  • Return new GEMINI.md

Client information

  • CLI Version: 0.38.2
  • Git Commit: b0ed611a0
  • Session ID: 9ea45eeb-b31e-437e-b1e1-240710996f05
  • Operating System: darwin v25.9.0
  • Sandbox Environment: no sandbox
  • Model Version: auto-gemini-3
  • Auth Type: oauth-personal
  • Memory Usage: 261.8 MB
  • Terminal Name: ghostty 1.3.1
  • Terminal Background: #282c34
  • Kitty Keyboard Protocol: Supported

Login information

No response

Anything else we need to know?

No response

extent analysis

TL;DR

The presence of a GEMINI.md file may be causing the initialization process to fail, and removing or renaming this file could potentially resolve the issue.

Guidance

  • Check if the GEMINI.md file is causing the issue by temporarily renaming or removing it and then attempting to initialize again.
  • Verify that the initialization process is working as expected when the GEMINI.md file is not present.
  • Review the documentation or configuration settings to see if there are any specific requirements or handling for GEMINI.md files.
  • If the issue persists, consider providing the exported chat history JSON file as requested to help with further troubleshooting.

Notes

The exact cause of the issue is unclear, and more information may be needed to provide a definitive solution. The provided client information and login details do not seem to be directly related to the issue at hand.

Recommendation

Apply workaround: Remove or rename the GEMINI.md file to see if it resolves the initialization issue, as this is the most likely cause based on the provided information.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING