Understand git2txt default behavior and output format
mainBy default, git2txt performs the following actions:
- Exclusions: Automatically excludes binary files and files larger than 100KB (0.1 MB).
- Recursion: Processes files recursively through all subdirectories, while automatically excluding
node_modulesand.gitfolders. - Output Location: Creates the output file in the current directory, named after the repository.
- Output Structure: The generated text file uses clear markers to separate files, including the relative path and file size.
Output Format Example:
================================================================================
File: path/to/file.txt
Size: 1.2 KB
================================================================================
[File contents here]
================================================================================
File: another/file.js
Size: 4.5 KB
================================================================================
[File contents here]