Update command syntax in documentation to clarify usage of the --token parameter for GitHub repository ingestion
Browse files
app.py
CHANGED
|
@@ -782,8 +782,9 @@ def main():
|
|
| 782 |
2. Generate repository text file:
|
| 783 |
```bash
|
| 784 |
gitingest https://github.com/your-username/your-repo \\
|
| 785 |
-
|
| 786 |
-
|
|
|
|
| 787 |
```
|
| 788 |
|
| 789 |
**Note**: Modify the file extension list to include the files you want to include in the repository text file. For private repositories, you'll need a GitHub token. For public repositories, you can omit the `--token` parameter.
|
|
|
|
| 782 |
2. Generate repository text file:
|
| 783 |
```bash
|
| 784 |
gitingest https://github.com/your-username/your-repo \\
|
| 785 |
+
-i "*.c,*.cc,*.cpp,*.cu,*.h,*.hpp,*.java,*.jl,*.m,*.matlab,Makefile,*.md,*.pl,*.ps1,*.py,*.r,*.sh,config.txt,*.rs,readme.txt,requirements_dev.txt,requirements-dev.txt,requirements.dev.txt,requirements.txt,*.scala,*.yaml,*.yml" \\
|
| 786 |
+
-o repo.txt \\
|
| 787 |
+
--token YOUR_GITHUB_TOKEN
|
| 788 |
```
|
| 789 |
|
| 790 |
**Note**: Modify the file extension list to include the files you want to include in the repository text file. For private repositories, you'll need a GitHub token. For public repositories, you can omit the `--token` parameter.
|