Home > OS >  How to remove deleted file from git-lens VSCode
How to remove deleted file from git-lens VSCode

Time:12-19

Vs Code Git-Lens

How can I removed these deleted files from git lens using vs code

CodePudding user response:

Those files are versioned on the remote repository, but you deleted them locally (that's why you see them among changed files). If you commit those deleted files and push them, you'll see them disappear both from your PC and the remote repository.

In case you don't want deleted files to be shown among changed ones, I'm afraid you can't achieve that in GitLens, but you could do it via console with: git diff --name-status --diff-filter=d

  • Related