Created
October 27, 2025 11:24
-
-
Save savelee/a4bdf6bd839b0c820c59c648df7d35e1 to your computer and use it in GitHub Desktop.
Example of .geminiignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ================================================== | |
| # GLOBAL .geminiignore | |
| # Location: ~/.gemini/.geminiignore (Recommended) | |
| # ================================================== | |
| # 1. DEPENDENCIES / PACKAGES (The most important exclusion) | |
| # Excludes Node.js and Python dependency folders globally. | |
| /node_modules/ | |
| /venv/ | |
| /.venv/ | |
| /env/ | |
| /.env/ | |
| # 2. BUILD OUTPUTS / COMPILED ARTIFACTS | |
| # Compiled code and distribution folders from common frameworks | |
| /dist/ | |
| /build/ | |
| /out/ | |
| /target/ | |
| /coverage/ | |
| /temp/ | |
| /tmp/ | |
| *.min.js | |
| *.min.css | |
| # 3. PYTHON CACHE / ARTIFACTS | |
| __pycache__/ | |
| *.pyc | |
| *.egg-info/ | |
| .pytest_cache/ | |
| .mypy_cache/ | |
| .ipynb_checkpoints/ # Jupyter Notebook checkpoints | |
| # 4. NODE.JS / FRONTEND ARTIFACTS (Angular, Next.js, etc.) | |
| # Excludes Angular's cache and lock files (which are large and redundant) | |
| /out-tsc/ | |
| /aot/ | |
| /ts_tmp/ | |
| package-lock.json | |
| yarn.lock | |
| pnpm-lock.yaml | |
| # 5. IDE / TOOLING CACHE | |
| # Common cache files generated by editors, package managers, and tools | |
| /.idea/ | |
| /.vscode/ | |
| /.DS_Store | |
| /Thumbs.db | |
| npm-debug.log | |
| yarn-debug.log* | |
| .npm/ | |
| # 6. SENSITIVE / LARGE LOG FILES | |
| # Excludes secret files and large log files which bloat context | |
| .env* | |
| *.key | |
| *.pem | |
| *.pfx | |
| *.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment