liximomo / vscode-sftp

Super fast sftp/ftp extension for VS Code
MIT License
1.5k stars 256 forks source link

it copys .git directory to remote when i use sync local -> remote #945

Closed daheibuhei closed 3 years ago

daheibuhei commented 3 years ago

Do you read the FAQ? Yes.

Describe the bug it copys .git directory to remote when i use sync local -> remote, although i have set ignore,but other files or directories are ignored rightly.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Run command '....'
  3. See error

Expected behavior A clear and concise description of what you expected to happen. just dont copy .git directory to remote and by the way,i think it is very possiable clicking sync local ->remote and sync remote->local. Because i will edit code file both on local and remote.If i clicked wrongly,oh,it is horrible

Screenshots If applicable, add screenshots to help explain your problem. image image as you can see,it copyed .git, and build and asd.txt was not copied

Desktop (please complete the following information):

Extension Logs from Startup - required

  1. Open User Settings.

    • On Windows/Linux - File > Preferences > Settings
    • On macOS - Code > Preferences > Settings
  2. Set sftp.debug to true and reload vscode.
  3. Reproduce the problem, get the logs from View > Output > sftp.
daheibuhei commented 3 years ago

my bad.it should be ".git",not ".git/". but another thing,i suppose it will be solved. i think it is very possiable clicking sync local ->remote and sync remote->local. Because i will edit code file both on local and remote.If i clicked wrongly,oh,it is horrible. Thanks.