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

ignore file not working #1014

Open
1 task
soth78 opened this issue Mar 15, 2023 · 3 comments
Open
1 task

ignore file not working #1014

soth78 opened this issue Mar 15, 2023 · 3 comments

Comments

@soth78
Copy link

soth78 commented Mar 15, 2023

Do you read the FAQ?

Describe the bug
Same bug as this fixed one: #534. I ignore a file and it gets uploaded when hitting Sync Local->Remote on the folder
To Reproduce
Steps to reproduce the behavior:
Just sync a folder that contains the file .DS_Store after ignoring it on the config
Config
"ignore": [".vscode",".DS_Store",".git",".gitignore",".htaccess","data"]

Expected behavior
The file shouldn't be uploaded

Desktop (please complete the following information):

  • OS: Mac 13.2.1
  • VSCode Version: 1.76.1
  • Extension Version: v1.16.1

Extension Logs from Startup - required
[03-15 12:57:36] [info] uploading temp file: /mnt/test/.DS_Store.new
[03-15 12:57:37] [info] moving from: /mnt/test/.DS_Store.new to: /mnt/test/.DS_Store
[03-15 12:57:38] [info] local ➞ remote /Users/text/Documents/test/.DS_Store

@YimianDai
Copy link

"ignore": ["**/.vscode", "**/.git"] works for me.

@soth78
Copy link
Author

soth78 commented Apr 26, 2023

Hi @YimianDai ,

Unfortunately with that format it doesn't on my mac:
"watcher": { "files": "**/*", "autoUpload": false, "ignore": [ "**/.vscode", "**/.DS_Store", "**/.git", "**/.gitignore", "**/.htaccess", "data" ] }

I upload the directory and the .DS_Store file appears on remote
I also tried putting .ds_store but same result, the file gets transmitted

@WLBRich
Copy link

WLBRich commented Aug 30, 2023

ignore file not working for me too. How to deal it?

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

No branches or pull requests

3 participants