今日学习node之时 准备push到git中 发现node_modules文件太多 push之时花费太多时间 故咱们解决为之 输入touch .gitignore 图片.png 目录便出现此文件 图片.png 编辑此文件 图片.png 输入你想屏蔽的 保存出去 然后push 就没有了