git rm -r --cached . git add . git commit -m "comment"
git rm -r --cached .
git add .
git commit -m "comment"
不要忘记 .
.
转载于:https://juejin.im/post/5cfdb57df265da1bcc193579