浏览代码

Update .gitattributes to collapse diffs on generated files

Emelia Smith 1 年之前
父节点
当前提交
9978b2b959
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      .gitattributes

+ 7 - 0
.gitattributes

@@ -3,3 +3,10 @@
 *.scss linguist-vendored
 *.js linguist-vendored
 CHANGELOG.md export-ignore
+
+# Collapse diffs for generated files:
+public/**/*.js text -diff
+public/**/*.json text -diff
+public/**/*.css text -diff
+public/img/* binary -diff
+public/fonts/* binary -diff