Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v0.2.29 ·

Enhanced .gitignore Support for LS Command

Entry
JSON All of v0.2.29
EntryKind: in v0.2.29,
ChangesSection of the release

The ls command now respects .gitignore patterns when listing files and directories. This provides a cleaner view of your project by automatically filtering out ignored files.

New parameter: The ls command now accepts an optional ignore parameter where you can provide an array of glob patterns to exclude from the listing.

Example usage:

# List files while respecting .gitignore
claude ls /path/to/directory

# List files with custom ignore patterns
claude ls /path/to/directory --ignore "*.tmp" "*.log"

See this entry in the whole of v0.2.29 →

Feedback