开发者

Incorrect behaviour git submodule

I created a template project. I called it Test. I created repo on github. I found the RestKit.xcodeproj file inside of the cloned RestKit project directory and draged it into the Project Navigator.

cd Test
git init
git submodule add git://github.com/RestKit/RestKit.git
git add .
git add -u
git commit -m "first commit"
git push

Push was OK.

My Test project:

Incorrect behaviour git submodule

I decided to check github's repo. I do git clone开发者_开发技巧. Clone was ok, but RestKit.xcodeproj appeared in red color.

Test project after cloning:

Incorrect behaviour git submodule

What is wrong ?


After clone you need to git submodule update -i

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜