github新建忽略文件

1.文件根目录输入命令: touch .gitignore

2.多了.gitignore文件

3.输入你想要忽略的文件 /node_modules

原文地址:https://www.cnblogs.com/wpTing/p/14218118.html