git子模块更新排除子模块列表

git子模块更新排除子模块列表,git,github,Git,Github,我使用它来更新存储库中的所有子模块 git submodule foreach --recursive git pull origin master 但是如何从更新中排除子模块列表 path/to/submodule1,path/to/submodule2这将帮助您:

我使用它来更新存储库中的所有子模块

git submodule foreach --recursive git pull origin master
但是如何从更新中排除子模块列表

path/to/submodule1,path/to/submodule2

这将帮助您: