Skip to content

A simple tool to gather source code from a local repo or folder into a single file for LLM context windows.

License

Notifications You must be signed in to change notification settings

claysauruswrecks/gitgather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitgather

gitgather on PyPI

To install gitgather, run the following command:

pip install gitgather
$ gitgather --help
usage: gitgather [-h] [--no-git] [--all] [--no-dotfiles] [-v] [--include INCLUDE] [--exclude EXCLUDE] repo_path output_file

Concatenate git repository files for LLM context analysis.

positional arguments:
  repo_path          Path to the git repository
  output_file        Output file path

options:
  -h, --help         show this help message and exit
  --no-git           Include all files, not just those tracked by git
  --all              Include all files, including hidden ones (overrides --no-dotfiles)
  --no-dotfiles      Exclude dotfiles
  -v, --verbose      Enable verbose output
  --include INCLUDE  Include files matching these patterns
  --exclude EXCLUDE  Exclude files matching these patterns

About

A simple tool to gather source code from a local repo or folder into a single file for LLM context windows.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages