B
B
b0n3Z2010-10-20 01:24:21
git
b0n3Z, 2010-10-20 01:24:21

How to update a submodule in git?

There is project A and there is project B, which contains a submodule (project A with commit X).
Project A received a bunch of commits. In project B, in the submodule, of course, nothing was updated
How to update the submodule in project B?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry404, 2010-10-20
@Dmitry404

I advise you to read Pro Git progit.org
Specifically, the chapter on submodules is progit.org/book/ru/ch5-8.html

B
b0n3Z, 2010-10-20
@b0n3Z

The question is removed, the answer, after a long googling, is found.
cd submodule
git pull origin master
cd -

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question