From 9978b2b9591c584e8e85b3ad03460415494db60a Mon Sep 17 00:00:00 2001 From: Emelia Smith Date: Fri, 16 Feb 2024 17:56:13 +0100 Subject: [PATCH] Update .gitattributes to collapse diffs on generated files --- .gitattributes | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitattributes b/.gitattributes index 967315dd3..25c1b1b65 100644 --- a/.gitattributes +++ b/.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