git rm -r --cached . git add . git commit -am 'git cache cleared' git push rm 清除 -r 遞歸文件 --cached . 根目錄下所有文件