Top "Git-submodules" questions

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

Set Git submodule to shallow clone & sparse checkout?

Many vendor Objective-C libraries (e.g., facebook-ios-sdk) instruct you to copy a certain subset of its repo's files/dirs into …

git github clone git-submodules sparse-checkout
can't add git submodule to repository

(Predominantly a Git question, but may be relevant to other PyroCMS users) I have a local repository of PyroCMS - …

git github git-submodules pyrocms
Why doesn't `git checkout` automatically do `git submodule update --recursive`?

Someone please help me understand submodules in git. I know they are getting a lot of bashing around the internet …

git git-submodules
Clone a repo with submodules: override credentials

I have to automate cloning a repository and fetching it's all submodules. The urls for repository submodules are specified at .…

git git-submodules git-clone git-config
Git submodule to track remote branch

I'm trying to use git submodules for aggregating 10+ repositories into one structure for easy development. It is supposed to clone …

git git-branch git-submodules git-remote
How to see which commit a git submodule points at

As far as I know, if you add a submodule in git then it points to a certain commit in …

git git-submodules git-commit
Retrospectively add --recursive to a git repo

If you git clone with --recursive, you can get all the git submodules too. If I've forgotten to add this …

git version-control git-submodules git-clone
.gitignore files added inside Git submodules

I recently reorganized my dotfiles to live inside a Git repository at ~/Dropbox/dotfiles and I'm using pathogen to bundle …

git vim gitignore git-submodules
Why is git submodule update not automatic on git checkout?

When switching branches with git checkout I would assume that most of the time you would want to update your …

git git-submodules
Swap git submodule with own fork

I added a submodule to my git repo like this: $ git submodule add git://github.com/user/some-library some-library I've …

git github fork git-submodules