Skip to content

Commit 7391f25

Browse files
Update customizing-how-changed-files-appear-on-github.md
1 parent 8667fea commit 7391f25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ Use a _.gitattributes_ file to mark files that match a given "pattern" with the
2121
For example, to mark `search/index.json` as a generated file, add this line to _.gitattributes_:
2222

2323
```gitattributes
24-
search/index.json linguist-generated=true
24+
search/index.json linguist-generated
2525
```
2626

2727
To unmark a file that would generally be considered _generated_, add this line to _.gitattributes_:
2828
```gitattributes
29-
bootstrap.min.css linguist-generated=false
29+
bootstrap.min.css -linguist-generated
3030
```
3131

3232
## Further reading

0 commit comments

Comments
 (0)