djbalinD
Convex Communityβ€’14mo agoβ€’
6 replies
djbalin

Ignoring _generated in pull requests/git diff

Hey, does anybody know how to do this? It's suggested to not gitignore the
_generated
files for CI/CD reasons (and we concur with this), but we would still like to not have the files show up in our diffs for pull requests.
We tried putting the belowin a .gitattributes file, but seems like that doesnt apply to github pull requests.
Anybody have some advice for this? Thanks! πŸ‡©πŸ‡°

/convex/_generated/* -diff
/convex/_generated/api.d.ts -diff
convex/_generated/api.d.ts -diff
Was this page helpful?