I have this structure:
- Content
- Scripts
- Styles
- Static
- default.css
- default.js
The folder Content
must be in the source control, because that is where we change the scripts and styles of the website. So I can include
it in the project.
The files in the folder Static
must not be in the source control, it is generated and makes no sense to enable checkout
and checkin
.
The problem
If I include the folder Content
in the project it will take it when I publish the website. If I exclude it from project it will not work with the Source Control.
If I exclude default.css
and default.js
from the project it will not be in the source control, but it will not go in the publish (I do not wish to publish all files in project folder).
Question
Is there a way I can choose which files I want to ignore and which I want to include in the publish?