I just do not understand the help page of Git. So what does happen or what is the difference?
Assume I have a Git project A with a submodule B. Submodule B does have a submodule C. After cloning the repository A points to a specific commit of B. And B points to a specific commit of C.
If I am inside A I go to B by
cd B
Now I type
git submodule update --remote
or
git submodule update
What is the difference? Assuming that the remote server does have changes in A, B and C.
I guess that using "git submodule update --remote" keeps the reference to the specific version of C. Does using it without --remote
update to the latest version of C?