I'm working on an open source project, "Project", which has two submodules, "Submodule1" and "Submodule2", with URLs "github.com/Project/Submodule1" and "github.com/Project/Submodule2".
I want to create a new submodule, "Submodule3". I've created it on my local machine, but I don't know how to get it into the remote repo on Github.
Does anyone know how to do this?
Clarification:
Submodule3
will be a copy of Submodule2
, that I will edit. Submodule2
is the template that I want to base Submodule3
on. So what I want to do is clone Submodule2
inside Project
on my local machine, make changes to it, then push it to the remote repo as Submodule3
.
Maybe this is documentation page that is of your interest. There you can read that