To keep certain files from displaying in diffs by default, or counting toward the repository language, you can mark them with the linguist-generated attribute in a .gitattributes file. Use a .gitattributes file to mark files that match a given "pattern" with the specified attributes. A .gitattributes file uses the same rules for matching as .gitignore files. For more information, see PATTERN FORMA