[BUG] If add *.md to .gitignore, then these files will not be "@"mentioned in the Claude CLI. This issue is critical.

Resolved 💬 2 comments Opened Sep 10, 2025 by Cassiel-girl Closed Sep 10, 2025

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

If add *.md to .gitignore, then these files will not be "@"mentioned in the Claude CLI. This issue is critical.

What Should Happen?

If add *.md to .gitignore, then these files will also can be set "@"mentioned in the Claude CLI.

Error Messages/Logs

Steps to Reproduce

If add *.md to .gitignore, then these files will not be "@"mentioned in the Claude CLI. This issue is critical.

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

1.0.109 (Claude Code)

Claude Code Version

1.0.109 (Claude Code)

Platform

Anthropic API

Operating System

Other Linux

Terminal/Shell

Other

Additional Information

rocky9.4 shell run claude command and then If add *.md to .gitignore, then these files will not be "@"mentioned in the Claude CLI. This issue is critical.

View original on GitHub ↗

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