siteglide-cli deploy is not removing files which were once synced - but now deleted.

With siteglide-cli sync environment name running;
If I create and sync a new liquid file to the server, there is no way for me to remove that file. If I delete the file, or even rename it, and then run siteglide-cli deploy, there is no effect seen on this file. A copy of the original file, will remain on the server.
Meaning: When I next run siteglide-cli pull - the original file (now empty) appears in my local repo.
Additional Information: This in itself wouldn’t be a big issue, but I have some files which are conflicting. For example, after the pull, git believes an empty version of the file should overwrite a populated version (my local version).
Therefore I have to review and discard the same changes on certain files after every siteglide-cli pull.
I assume this has something to do with siteglides-cli deploy function. Maybe it does not support deploy with force?
I have tried siteglide-cli deploy -f and have had no luck. The same files appear when I execute the pull.

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board
πŸš€

Feature

Date

Almost 6 years ago

Author

Courtney

Subscribe to post

Get notified by email when there are changes.