On Fri, 6 Feb 2015 07:46:00 -0800 (PST)
Wilson Ren <ren...@gmail.com> wrote:
> Is there a way to keep track/update which submodule commits used in a
> From what I have read and tried, the sub module is pointed at the
> commit it has in its HEAD when it's first time added in the main
> project. If we fetch a (new) different commit of
> the submodule to the main project, no change is made to the submodule
> Is there any workaround?
Git tracks submodules using exact commits (see ), so, if I
understood your fears correctly, they are unfounded: when you check out
any prior state of a superproject, the checkout will refer to the exact
states of all its submodules recorded in that superproject's commit.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.