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.
This commit is contained in:
Javi Martín
2021-05-31 12:54:05 +02:00
parent 7f38f61bc1
commit 1627d87890

1
.gitignore vendored
View File

@@ -36,5 +36,6 @@
.ruby-gemset .ruby-gemset
public/sitemap.xml public/sitemap.xml
public/assets/
public/system/ public/system/
/public/ckeditor_assets/ /public/ckeditor_assets/