You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.
I use deploy packages with sftp with an exclude list. I get deploy log messages such as these with leading slash:
Deploying '/.gitignore' to '/net/vol/ldrude/projects/2017/project_dc'... [OK]
Deploying '/eval.bash' to '/net/vol/ldrude/projects/2017/project_dc'... [OK]
Deploying '/Makefile' to '/net/vol/ldrude/projects/2017/project_dc'... [OK]
However, I have to write exclude entries like these without the leading slash:
".vscode/**",
".idea/**",
"notebooks/**",
I suggest to either modify the deploy log messages or to at least add a few examples to the relevant Wiki page. Does this also depend on whether minimatch or node-glob is used?
Interestingly [1] uses ".vscode/**" as an exclude pattern while [2] uses a leading slash. Even worse, in issue comments [3, 4] both ways seem to be recommended.
Hello! How do you specify only files in the project root folder and does not include any files with the same extension in other folders? For example, I want to exclude/ignore only the composer.json in the project root?
Thanks!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Visual Studio Code 1.22.2
Deploy 14.0.0
I use deploy packages with sftp with an exclude list. I get deploy log messages such as these with leading slash:
However, I have to write exclude entries like these without the leading slash:
I suggest to either modify the deploy log messages or to at least add a few examples to the relevant Wiki page. Does this also depend on whether
minimatch
ornode-glob
is used?Interestingly [1] uses
".vscode/**"
as an exclude pattern while [2] uses a leading slash. Even worse, in issue comments [3, 4] both ways seem to be recommended.[1] https://github.com/mkloubert/vs-deploy/wiki/target_batch
[2] https://github.com/mkloubert/vs-deploy/wiki/examples_php
[3] #57 (comment)
[4] #57 (comment)
This is my full
settings.json
:The text was updated successfully, but these errors were encountered: