1 无 .gitignore 文件时,在项目文件右键,Git Bash 进入命令行
输入 touch .gitignore 生成gitignore文件
2 、在文件.gitignore里输入
node_modules/ dist/
来自于:vscode git提交代码忽略node_modules_老妖zZ的博客-CSDN博客
京公网安备 11010502049817号