Microsoft/vscode
Git - Adding a folder to `.gitignore` should not add every single file
Aperta
#127.028 aperta il 23 giu 2021
feature-requestgithelp wanted
Metriche repository
- Star
- (184.936 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
- VS Code Version: v1.57.1
- OS Version: Win 20H1
Steps to Reproduce:
- Create an empty repository
- Do
npm init && npm install whatever - Switch to the SVM view
- Oops, you have one bajillion changed files in your working copy! Right-click the
node_modulesfolder in the SCM view and choose "Add to .gitignore".
Expected behavior:
node_modules/is added to the.gitignore.
Actual behavior:
- Every single file in the
node_modulessubtree of the repository is added separately to the.gitignore...