--gitignore / --no-gitignore¶
Info
- The
--gitignore
flag makes show-file-tree respect.gitignore
files, excluding ignored files and folders from the tree. - The
--no-gitignore
flag 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
--hidden
to show hidden files that are also ignored by Git. - Combine with
--format md
for full documentation including ignored files:
Markdown Support¶
Formatted with Markdown file