Top "Git-submodules" questions

Submodules allow you to keep a Git repository as a subdirectory of another Git repository.

How to extract a git subdirectory and make a submodule out of it?

I started a project some months ago and stored everything within a main directory. In my main directory "Project" there …

git git-submodules
Unable to track files within Git submodules

Problem: to add files at ./shells/smallApps/* to Git at ./.git/ when I do not have the files at ./.git/…

git add git-submodules
How to make an existing directory within a git repository a git submodule

I'm very confused about git-submodules. Basically my problem is that I can't make git understand that ~/main-project/submodule is a …

git version-control git-submodules
Git commit to common submodule (master branch)

I've two or more projects (let's call them ProjectFoo and ProjectBar) having some common code that I put in a …

git commit git-submodules
git submodule modified files status

I've added a submodule in my main git folder tree and haven't changed anything but it's showing up modified. What …

git git-submodules
git submodule not pulling files in submodules

I thought I had it all worked out with this new project and thought that git submodules are the way …

git file pull git-submodules
How can I add a specific folder from a git repo as a git submodule?

I have a git repo and I want to add a submodule to it. Problem is, the submodule exists as …

git git-submodules
Continue looping over submodules with the "git submodule foreach" command after a non-zero exit

I have a project that contains many submodules. I want to loop over each submodule with the following command: git …

git bash git-submodules
Nested git repositories without remotes (a.k.a. git submodule without remotes)

I have a project of which I am interested in breaking out portions as open-source. I've set up nested git …

git git-submodules
How to checkout old git commit including all submodules recursively?

I have a git repo with multiple submodules. One of those submodules has multiple submodules of it's own. All I'm …

git git-submodules