Skip to content

Commit ccbff5a

Browse files
committed
Keep certain generated files from displaying in diffs by default
This speeds up rendering PR diff view on GH to ease the PR review process
1 parent fa52dd7 commit ccbff5a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.gitattributes

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Attributes per path
2+
3+
# This allows for example for customizing how changed files appear on GitHub.
4+
# See https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github
5+
6+
# linguist-generated marks matching paths as ignored for the repo language stats and hidden by default in diffs.
7+
# See https://github.com/github-linguist/linguist/blob/master/docs/overrides.md#overrides
8+
9+
**/yarn.lock linguist-generated=true
10+
11+
**/openapitools.json linguist-generated=true
12+
13+
plugins/bulk-import-backend/api-docs/**/* linguist-generated=true
14+
plugins/bulk-import-backend/src/openapi.d.ts linguist-generated=true
15+
plugins/bulk-import-backend/src/openapidocument.ts linguist-generated=true

0 commit comments

Comments
 (0)