--gitignore / --no-gitignore¶
Info
- The
--gitignoreflag makes show-file-tree respect.gitignorefiles, excluding ignored files and folders from the tree. - The
--no-gitignoreflag ignores.gitignore, showing all files and folders.
Usage¶
Usage
Example¶
Example
Tips¶
Tip
- Useful in CI pipelines where you want a complete file tree.
- Combine with
--hiddento show hidden files that are also ignored by Git. - Combine with
--format mdfor full documentation including ignored files:
Markdown Support¶
Formatted with Markdown file