查看Git追踪的文件
git ls-files
git ls-files
移除远程仓库的文件夹
git rm -r --cached some-directory
git commit -m "Remove the now ignored directory some-directory"
git push origin master
更新gitignore文件
git rm -r --cached .
git add -A
git commit -m "update .gitignore"