开发者

How do I update submodule?

开发者 https://www.devze.com 2023-04-12 04:19 出处:网络
My file gitmodules is [submodule \"RestKit\"] path = RestKit url = git://github.com/RestKit/RestKit.git

My file gitmodules is

[submodule "RestKit"]
    path = RestKit
    url = git://github.com/RestKit/RestKit.git
[submodule "rest开发者_如何转开发kit"]
    path = restkit
    url = git://github.com/RestKit/RestKit.git`enter code here`

My project is :

How do I update submodule?

How do I update submodule?


Not sure how to do this in XCode but you can do it in the terminal with

git submodule foreach \
git pull origin master

This will loop through all your submodules and do a git pull on them.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号