用composer拉了doctrine,发现该目录下的annatation提交不上去
目录结构如下
topdir +
+-- .git
+-- fileA
+-- fileB
+ another-git-directory +-- .git
+-- fileC
+-- fileD
执行命令
git rm --cached another-git-directory #no trailing slash
git add another-git-directory/.
git commit