Remove node_modules from git in vscode

后端 未结 7 1428
误落风尘
误落风尘 2021-01-29 19:37

Getting error while removing node_modules in git, vscode terminal

 git rm -r --cached node_modules

Error:

7条回答
  •  礼貌的吻别
    2021-01-29 19:51

    1. make .gitignore file.
    2. add node_modules/ line to gitignore file
    3. run this command git rm -r --cached . git add . git commit -m "remove gitignore files" git push

提交回复
热议问题