Search code examples
gitvisual-studio-codegitignore

Is there a way to stop tracking folder in VS Code with out gitignore?


I have a dist folder that I want to build locally and put it on Heroku every time during development. But I want VS Code to stop tracking files in the folder, for example during a search


Solution

  • A possible duplicate of https://stackoverflow.com/a/33277809/13378612

    You can exclude the dist folder in your workspace using files.exclude. (Of course this does not prevent git to track the changes in dist.)