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:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -36,5 +36,6 @@
|
||||
.ruby-gemset
|
||||
|
||||
public/sitemap.xml
|
||||
public/assets/
|
||||
public/system/
|
||||
/public/ckeditor_assets/
|
||||
|
||||
Reference in New Issue
Block a user