git 上传node_modules文件内容的解决办法 解决办法 缺少.gitignore文件 创建.gitignore touch .gitignore .gitignore文件要有忽略上传的文件 并在其中输入想要忽略的文件或或文件名: /node_modules 忽略上传的文件夹 /dist