忽略文件
git rm --cached package-lock.json
git commit -m 'update .gitignore'
git push origin master
忽略文件夹
git rm -r --cached node_modules
git commit -m 'update .gitignore'
忽略文件
git rm --cached package-lock.json
git commit -m 'update .gitignore'
git push origin master
忽略文件夹
git rm -r --cached node_modules
git commit -m 'update .gitignore'