Top "Git-submodules" questions

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

Rename a git submodule

Is there some easy way to rename a git submodule directory (other than going through the entire motion of deleting …

git git-submodules
How to revert a Git Submodule pointer to the commit stored in the containing repository?

I have a git submodule in my main git repo. As I understand it, the main repo stores a SHA …

git git-submodules
How to change a git submodule to point to a subfolder?

Skimming through the SubModule tutorial, I created a submodule out of the boto project. Then, I discovered that I actually …

git git-submodules
How to only update specific git submodules?

So, updating all my submodules is done by running git submodule foreach 'git pull origin master' How do I update …

git git-submodules
How to clone only a folder from a git submodule?

I'm trying to get just a folder from an external github repo to use in my project. I want my …

git git-submodules
Git submodules and ssh access

I have some trouble with a git repository that contains several submodules. The super git repository was constructed with the …

git ssh git-submodules
No submodule mapping found in .gitmodules for path and missing .gitmodules file

When I run git submodule init, I get the following error: No submodule mapping found in .gitmodules for path 'xxx' …

git git-submodules
How to make shallow git submodules?

Is it possible to have shallow submodules? I have a superproject with several submodules, each with a long history, so …

git git-submodules
Git: can I suppress listing of 'modified content'/dirty submodule entries in status, diff, etc?

Somewhen (around the 1.6.x releases, I think) git became aware of changes inside submodules. That only serves to annoy me: $ …

git git-submodules git-config
How can I have linked dependencies in a git repo?

In my scripts, I often use libraries (mine or others') that have their own repos. I don't want to duplicate …

git github dependencies git-submodules githooks