开发者

How do I update submodule?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜