GIT remote extension on Visual Studio - showing tons of unknown Changes

Viewed 300

I am using GIT remote extensions of Visual Studio code in my local laptop and when I connect to remote host via SSH I am seeing lot of unknown changes synced to GIT and waiting to stage or discard or commit . most of them coming from .vscode-server hidden directory from my remote machine . I tried to exclude it with all patterns in fileWatcher and couldn't help even if after reload . I did same patterns to exclude showing those files in User , Remote and workspace all areas but no luck . Any thoughts ?

Image is below and left hand side is almost 1K files which I have no idea why it came and some of the files I stage but it keep coming .

Git Remote showing changes

enter image description here

1 Answers

Try first and modify or add a .gitignore file with, as content:

.vscode-server/

Then, in your remote SSH folder repository:

git rm --cached -r .vscode-server/

That should be enough for Git to ignore the folder content, and remove those entries from changes

Related