Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: Submodules: Publishing a locally created submodule.

From: Mark Levedahl <hidden>
Date: 2016-06-15 22:45:01

Thomas Adam wrote:
Hello all,


Now:  I want to make mysubmoduleB a submodule which I can publish to
the shared repository and when others pull, to see that submodule and
be able to treat it as such.

But I can't see how to do that.  Can someone help?

Many thanks in advance.

-- Thomas Adam
git submodule add <URL where this will exist> ./mysubmoduleB

will recognize that mysubmoduleB is already a valid git repo and add it as is at 
the current location to the superproject.

Mark
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help