1.右键 点击git bash here 2.输入 touch .gitignore 生成 .gitignore文件 过滤 不上传 node_modules/ 转载于:https://www.cnblogs.com/MainActivity/p/7976587.html