删除的子模块仍在更新

时间:2018-07-12 08:38:17

标签: android git jenkins continuous-integration git-submodules

我有两个子模块function retrieveAllData(parm1, limit){ const allPromises = []; for (let year = 1990; year <= limit; year++) { const objKey = parm1 + "_data_" + year; allPromises.push( getDataParms(parm1, j) .then((parms) => ({ data1: j, [objKey]: parms })) ) } return Promise.all(allPromises); } xxx,后来我在this post之后删除了子模块yyy

仍然可以运行circleci:

xxx

我得到结果:

git submodule update --init

但是正在运行:

Submodule 'xxx' (git@bitbucket.org:z/xxx) registered for path 'xxx'
Submodule 'yyy' (git@bitbucket.org:z/yyy) registered for path 'yyy'
Cloning into '/home/circleci/project/xxx'...
Cloning into '/home/circleci/project/yyy'...
Submodule path 'xxx': checked out 'hash**'
Submodule path 'yyy': checked out 'hash**'

我只看到一个:

git submodule 

git submodule hash** yyy (heads/master) 文件仅显示yyy

.gitmodules

[submodule "yyy"] path = yyy url = git@bitbucket.org:z/yyy.git 文件同时显示了两者

.git/config

如何正确删除子模块xxx

0 个答案:

没有答案