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.
42 lines
802 B
Plaintext
42 lines
802 B
Plaintext
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
|
|
#
|
|
# If you find yourself ignoring temporary files generated by your text editor
|
|
# or operating system, you probably want to add a global ignore instead:
|
|
# git config --global core.excludesfile '~/.gitignore_global'
|
|
|
|
# Ignore bundler config.
|
|
/.bundle
|
|
|
|
# Ignore the default SQLite database.
|
|
/db/*.sqlite3
|
|
/db/*.sqlite3-journal
|
|
|
|
# Ignore all logfiles and tempfiles.
|
|
/log/*
|
|
!/log/.keep
|
|
/tmp
|
|
|
|
/spec/examples.txt
|
|
/config/database.yml
|
|
/config/secrets.yml
|
|
/config/deploy-secrets.yml
|
|
/config/maintenance.yml
|
|
|
|
/coverage
|
|
|
|
/config/beta-testers.txt
|
|
.byebug_history
|
|
|
|
# Mac finder artifacts
|
|
.DS_Store
|
|
|
|
# Intellij IDE project settings
|
|
/.idea
|
|
|
|
.ruby-gemset
|
|
|
|
public/sitemap.xml
|
|
public/assets/
|
|
public/system/
|
|
/public/ckeditor_assets/
|