vendor/包下有个包包含了子模块,一直无法提交。

我先进入目录把git相关的移除,但是还是无法提交。

再把缓存清除

git rm --cached vendor/package

重新提交就ok了。