.gitignore in subfolders are not taken into account.

Resolved 💬 4 comments Opened Nov 26, 2025 by jurmous Closed Feb 23, 2026

What version of Codex is running?

codex-cli 0.63.0

What subscription do you have?

Plus

Which model were you using?

gpt-5.1-codex-max

What platform is your computer?

Darwin 25.1.0 arm64 arm

What issue are you seeing?

Message is shown:

⚠ Repository snapshot encountered large untracked directories: subproject/speak-cache (722 files) This can slow Codex; consider adding
these paths to .gitignore or disabling undo in your config.

These folders are already ignored by a .gitignore in the subproject. So these are not taken into account

What steps can reproduce the bug?

Uploaded thread: 019abf85-0169-7543-adce-65c833a2ee87

What is the expected behavior?

No error message. Those folders are ignored.

Additional information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗