注意:以下命令需要在你项目中右键点击 Git Bash Here进行命令窗口输入
git rm -r --cached .
git add .
git commit -m 'update .gitignore'
git rm -r --cached .
git add .
git commit -m 'update .gitignore' 这个是关键
git rm -r --cached .
git add .
git commit -m 'update .gitignore'
git rm -r --cached .
git add .
git commit -m 'update .gitignore' 这个是关键