作者热门文章
- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我的文件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`
我的项目是:
如何更新子模块?
最佳答案
不确定如何在 XCode 中执行此操作,但您可以在终端中使用
git submodule foreach \
git pull origin master
这将遍历所有子模块并对它们执行 git pull
。
关于xcode - 如何更新子模块?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7714587/
我是一名优秀的程序员,十分优秀!