问题描述:在使用git 提交代码时总是出现
On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
(commit or discard the untracked or modified content in submodules)
modified: vendor/league/flysystem (modified content)
modified: vendor/symfony/var-dumper (modified content)
no changes added to commit (use "git add" and/or "git commit -a")
这玩意是啥呢?啥意思呢?
进入到这两个文件中,发现了问题
原来是git下来的文件中有.git文件,它不属于我们自己的本项目,所以一直在捣乱。。。
于是乎 rm -rf XXX 删除掉他们,问题就解决了。。。