在repo根目錄下創(chuàng)建.gitignore文件 //忽略文件夾 /node_modules/ //忽略文件 /.vscode /package.json /webpack.config.js /.gitignore