我有两个子模块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