The .git folder has been included in the list of file candidates

Open 💬 1 comment Opened Apr 25, 2026 by pyao12

What version of Codex CLI is running?

codex-cli 0.125.0

What subscription do you have?

custom provider, support OpenAI Compatible Protocal

Which model were you using?

gpt-5-codex

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What terminal emulator and version are you using (if applicable)?

Windows Terminal (Powershell)

What issue are you seeing?

› help me solve the problem in @cp

compile\cpp.go
compile
compile\tests.go
.git\hooks\pre-commit.sample
.git\hooks\pre-merge-commit.sample
.git\objects\pack
.git\hooks\commit-msg.sample
.git\hooks\push-to-checkout.sample

<img width="503" height="430" alt="Image" src="https://github.com/user-attachments/assets/2baa2f5a-7d01-4de1-921b-850bf9d6e4a0" />

What steps can reproduce the bug?

Use codex in a git repository, and search files. hmmm...

What is the expected behavior?

The git folder is not included.

Additional information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗