Skip to content

Commit

Permalink
Enable linguist for our build repo (#390)
Browse files Browse the repository at this point in the history
Based on https://docs.github.com/en/github/administering-a-repository/customizing-how-changed-files-appear-on-github
this should be useful to keep certain files from displaying in diffs by default, or counting
toward the repository language.

This should help when PRs with vendor folders or generated clients are adding/removing changes.
  • Loading branch information
qu1queee authored Sep 16, 2020
1 parent 00b4d3c commit a7787b3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This file is documented at https://git-scm.com/docs/gitattributes.
# Linguist-specific attributes are documented at
# https:/github/linguist.

**/zz_generated.*.go linguist-generated=true
/pkg/clients/** linguist-generated=true

0 comments on commit a7787b3

Please sign in to comment.