Ignoring files
At times you may want to left out some files in your repository while making a deploy to the server, eg. SASS files that are compiled to CSS or a vintage Jenna Jameson movie that you’re having problems parting with. To do that, go to the deployment action details and switch to the Ignore tab:
Ignore patterns
/config
- excludes all files named config located in the ROOT directoryconfig/
- excludes all directories named config together with their contents/config/
- excludes the directory named config located in the ROOT directory together with their contents/dir/name*
excludes all files starting with name in dir foldertest*
excludes all files starting with testtest*/
excludes all directories starting with test