Skip to content

Commit c2a0b8a

Browse files
committed
Mark pregenerated/ to be ignored for the repository's language statistics
1 parent 7dbe2eb commit c2a0b8a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.gitattributes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,9 @@
1717
# Use `binary` to make sure certain files are never auto-detected as text.
1818
#
1919
#*.png binary
20+
21+
# Use `linguist-generated` attribute to mark or unmark paths to be ignored for
22+
# the repository's language statistics and hidden by default in diffs.
23+
#
24+
hello/hello/pregenerated/** linguist-generated=true
25+
hello/doc/pregenerated/** linguist-generated=true

0 commit comments

Comments
 (0)