feat: `.gitingestignore` file
Currently whenever I use gitingest I would have to do the following and it doesn't seem to accept multiple files
# Current
gitingest -e LICENSE .
# Should have
gitingest -e "LICENSE README.md package.json" .
There should be also be way for users to ignore multiple files and store it in a .gitingestignore file
node_modules/
LICENSE
package.json
pnpm-lock.yaml
pnpm-workspace.yaml
tsconfig
.
.
.
Hey @cyclotruc can I work on this ?
@AbhiRam162105 Sure! I reviewed and answered on your PR!
Can we request that gitingest automatically obey .gitignore? IMO that should happen before a custom ignore file. Let me know if I should make a new issue. Thanks!
I guess it's better to use an assistant-like form to allow users exclude some files/directories from Files content, I found too many things to ignore, package-lock.json, pnpm-lock.json to name a few.
can't you call it .genignore? I'll call it that.
@BrianLYS @pbadeer
We now support both .gitignore and .gitingestignore. I am also thinking creating a better way to override DEFAULT_IGNORE_PATTERNS.