The fastest way to feed your AI coding assistant full repo context.
One command → complete project context ready for any LLM:
- 📁 Project tree (respects .gitignore)
- 🔀 Git branch topology
- 📜 Recent commit history
- 📄 Source file contents (intelligent truncation)
# Basic — directory tree + git info
python3 git-context
# Include file contents for full AI context
python3 git-context --files
# Custom depth (default: 4)
python3 git-context --depth 2
# Write to file instead of stdout
python3 git-context --files -o context.txt
# Any git repo, anywhere
python3 git-context --dir /path/to/repoBecause it saves you 5+ minutes every time you need to give context to an AI coding assistant. After 2-3 uses, it's paid for itself.
pip install git-context # coming to PyPI soon
# or just download & run — zero dependencies!MIT License
If git-context saves you time, consider buying me a coffee:
Crypto (ETH / BSC / Polygon):
0x96ae5ac39ac118361c158c045e6c41dc0c08c533
Ko-fi: https://ko-fi.com/promptpolish (coming soon)
BTC: bc1qxlj7xlhp7e6v2qw2k6uy7n3z3q3p3k3z3q3p3