diff --git a/.gitattributes b/.gitattributes index 8533b7ac..6cd81bc5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,5 +1,7 @@ -# Exclude go.sum from language statistics and suppress in diffs on GitHub. +# Exclude the following from language statistics on GitHub. +vendor/** linguist-vendored + +# Exclude the following from language statistics and suppress them in diffs on GitHub. go.sum linguist-generated +vendor/modules.txt linguist-generated -# Exclude vendor directory from language statistics on GitHub. -vendor/** linguist-vendored