Git子模块更新--init显示需要提交的更改

时间:2012-02-24 20:53:14

标签: git git-submodules

我有一个带子模块的回购。克隆存储库后,运行git submodule update --init --recursive

我进入子模块,git状态显示:

*:sfPropelORMPlugin eyellott$ git status
# On branch master
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#   deleted:    .gitignore
#   deleted:    .gitmodules
#   deleted:    .travis.yml
#   deleted:    LICENSE
#   deleted:    LICENSE.Propel
#   deleted:    LICENSE.phing
#   deleted:    README.md
#   deleted:    config/autoload.yml
#   deleted:    config/installer.php
#   deleted:    config/sfPropelORMPluginConfiguration.class.php
#   deleted:    config/skeleton/config/databases.yml
#   deleted:    config..
...

repo和子模块更新的新克隆如何导致需要提交的更改?

1 个答案:

答案 0 :(得分:0)

写入该文件夹时出现问题?检查权限?