The use case you're describing is fairly well handled by the git subtree command. There are some git plugins that add more complex workflows on top of that, but the base command is what you're looking for. Git submodules, in my experience, are far more useful when pointing to release commits and treating submodule updates like dependency updates. If you want the equivalent of how Subversion lets you link to another repo as a directory, that would be git-subtree, not git-submodule.
On Mon, 31 Aug 2020 at 09:16, Gary Gregory <[email protected]> wrote: > > On Mon, Aug 31, 2020 at 10:15 AM Gary Gregory <[email protected]> > wrote: > > > On Sun, Aug 30, 2020 at 9:24 AM Gary Gregory <[email protected]> > > wrote: > > > >> I'm talking about girl's own submodules: > >> > >> https://git-scm.com/book/en/v2/Git-Tools-Submodules > >> > > > > I think the on-line book above has been updated since 2014 (as seen on the > > front page https://git-scm.com/book/en/v2) so the reference page > > https://git-scm.com/docs/git-submodule should be more accurate. > > > ARG: "I think the on-line book above has been updated" -> "I think the > on-line book above has *NOT *been updated" > > G > > > > > > Gary > > > > > >> > >> https://git-scm.com/docs/git-submodule > >> > >> Gary > >> > >> On Sun, Aug 30, 2020, 09:09 Rob Tompkins <[email protected]> wrote: > >> > >>> By git submodules, are you talking about a symlink to another git > >>> repository inside one of our repositories? > >>> > >>> -Rob > >>> > >>> > On Aug 29, 2020, at 6:52 PM, Gary Gregory <[email protected]> > >>> wrote: > >>> > > >>> > Hi All, > >>> > > >>> > Any thoughts for or against creating a new git repository which would > >>> > contain all 'proper' Commons components as git submodules? > >>> > > >>> > The idea is to be able to checkout all of Commons 'proper' in one go > >>> in one > >>> > place. > >>> > > >>> > Gary > >>> > >>> > >>> --------------------------------------------------------------------- > >>> To unsubscribe, e-mail: [email protected] > >>> For additional commands, e-mail: [email protected] > >>> > >>> -- Matt Sicker <[email protected]> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
