To tell Siteleaf to ignore a certain file or directory when uploading your theme, add a .siteleafignore
file to your theme folder. Within this file you can create a list of rules for ignoring files. This file is very similar to a .gitignore
file and follows the same structure. You can read more about that here.
Here’s an example of a .siteleafignore file:
.DS_Store
.sass-cache
.git
bower_components
scripts/coffee/*.*
styles/sass/*.*
config/*.*
Gemfile
Guardfile
Gemfile.lock