赞
踩
1.忽略已经上传的文件夹
git rm -r --cached folder/
2.忽略已经上传的文件
git rm --cached test.txt
3.重新添加被忽略的文件
git add -f test.txt
添加完毕后,在commit 和 push即可。