diff --git a/content/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github.md b/content/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github.md index a1a016cc1027..a71b83af8dd9 100644 --- a/content/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github.md +++ b/content/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github.md @@ -20,8 +20,13 @@ Use a _.gitattributes_ file to mark files that match a given "pattern" with the For example, to mark `search/index.json` as a generated file, add this line to _.gitattributes_: - ```text - search/index.json linguist-generated=true + ```gitattributes + search/index.json linguist-generated + ``` + + To unmark a file that would generally be considered _generated_, add this line to _.gitattributes_: + ```gitattributes + bootstrap.min.css -linguist-generated ``` ## Further reading