I have the same question posed at
How to maintain a Github fork of a popular project
So, I wish to make a fork of a popular project, make a few minor tweaks, and throughout time I want to keep in sync with the changes going on in the master project.
Except that my popular project that I am working with has a bunch of submodules.
So when I:
(1) add a remote repository called xxx that points to the original master branch of the original project
(2) do a git pull xxx master
It pulls in the master project's files and it reports that there are conflicts. When I do a git status I see:
added by us: external/binary-reference-assemblies
I see this in .gitmodules, so I understand this is a submodule.
What should I do at this point to ensure that I get the latest files for this submodule, so I can subsequently push everything back to my forked repository?
Thanks.