From 1627d87890cda184dfe0e2235f2ba561db3007bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Mon, 31 May 2021 12:54:05 +0200 Subject: [PATCH] Avoid adding compiled assets to version control We've seen a few CONSUL repositories where compiled assets have accidentally been added to version control. It's pretty easy if you use something like `git add .` before creating a commit and you've compiled the assets locally. Having these assets in version control doesn't help and in certain environments it might even have side effects. For instance, we might try updating the source code of a Sass file and might wonder why these changes are ignored in some test or development environments. --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 57284ee60..21e96def9 100644 --- a/.gitignore +++ b/.gitignore @@ -36,5 +36,6 @@ .ruby-gemset public/sitemap.xml +public/assets/ public/system/ /public/ckeditor_assets/