误存文件夹到GitHub的解决方法 发表于 2021-05-04 | 分类于 Github_desktop 误存文件夹到GitHub的解决方法将node_modules文件存放到了GitHub的解决方法 1touch .gitignore2echo /node_modules/ >> .gitignore3git rm -r --cached node_modules4git add . -A5git commit -m "remove node_modules"6git push -------------本文结束感谢您的阅读-------------