Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility to ignore files e.g. .htaccess or files that need to stay #155

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

a-tonchev
Copy link

No description provided.

@simonh1000
Copy link
Owner

These PR requires an explanation of what it is trying to do, and it also needs more information in the README

@a-tonchev
Copy link
Author

@simonh1000 This PR makes it possible to preserve files on the server (and not remove them), e.g.:

config = {
preserve: [".htaccess", "/keepThisDirectory", "/toKeepDirectory/keepFile"]
}

This will remove everything else than the files and directories included in "preserve"

@a-tonchev
Copy link
Author

Will this be merged soon or is there need of anything else?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants