mirror of
https://git.freebsd.org/doc.git
synced 2026-01-11 19:56:47 +00:00
Initialize .gitattributes for doc
.gitattributes instructs git custom diff handling which helps the readability of git diff in development. This is especially useful for binary files such as images, as it prevents git from printing meaningless diffs. Differential Revision: https://reviews.freebsd.org/D43082
This commit is contained in:
parent
1e2c867752
commit
e731a7cdf1
1 changed files with 9 additions and 0 deletions
9
.gitattributes
vendored
Normal file
9
.gitattributes
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
*.css diff=css
|
||||
*.html diff=html
|
||||
*.pl diff=perl
|
||||
*.rb diff=ruby
|
||||
|
||||
# Images are binary files
|
||||
*.ico binary
|
||||
*.jpg binary
|
||||
*.png binary
|
||||
Loading…
Add table
Reference in a new issue