我有这个sftp.json
文件:
{
"name": "projectname",
"remotePath": "/htdocs/",
"host": "myhostdomain",
"protocol": "ftp",
"username": "user",
"password": "pass",
"passive": true,
"watcher": {
"files": "**/*",
"autoUpload": true,
"ignore": [
".vscode",
".git",
".gitignore",
"config.php"
]
}
}
实际上忽略了.vscode
文件夹和config.php
文件,但没有忽略.git
和.gitignore
我该如何解决? .git文件夹的更改会产生大量的网络使用情况。