我有两个裸回购super
和a
,super
- clone_super
的一个克隆和a
- clone_a
的一个克隆。我在clone_super
中添加了回购a
作为子模块。Git子模块修改后,git拉,我应该推?
如果我现在做一些变化clone_a
,推动那些和做~/clone_super/a
一个git pull origin master
,它会在一个modify status
为~/clone_super/a
,在~/clone_super
git status
后显示渲染。
如果我做git submodule update
,~/clone_super/a
将恢复到先前的承诺。那么,我是否打算每次更新它们时都需要提交并推送子模块以存在它们存在的回收站?
OK了历史,我明白了。感谢(对两者)的快速反应。 – PistolPete 2012-04-26 13:54:22