gpt4 book ai didi

xcode - 如何更新子模块?

转载 作者:太空狗 更新时间:2023-10-29 13:57:05 25 4
gpt4 key购买 nike

我的文件gitmodules是

[submodule "RestKit"]
path = RestKit
url = git://github.com/RestKit/RestKit.git
[submodule "restkit"]
path = restkit
url = git://github.com/RestKit/RestKit.git`enter code here`

我的项目是:

enter image description here

如何更新子模块?

最佳答案

不确定如何在 XCode 中执行此操作,但您可以在终端中使用

git submodule foreach \
git pull origin master

这将遍历所有子模块并对它们执行 git pull

关于xcode - 如何更新子模块?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7714587/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com