As shown above,
/public/js
/public/css
/public/build
They are all still there and have not been ignored.
/resources/assets/bower
This folder can be correctly ignored. why?
Guess the reason. This rule was added later. Before this, /public/js
, /public/css
, and /public/build
were all submitted.
Is that so?
What should we do if this is the case?
怪我咯2017-05-02 09:51:22
Yes, this is because it has been submitted before. The solution is to select .gitignore
中这三个目录去掉,然后删除这三个目录后再提交,push,最后再把这三个目录添加到.gitignore
first, so that it will be excluded in the future