Top "Git-submodules" questions

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

How do I manage conflicts with git submodules?

I have a git superproject that references several submodules and I am trying to lock down a workflow for the …

git branch git-submodules conflict
Git diff says subproject is dirty

I have just run a git diff, and I am getting the following output for all of my approx 10 submodules …

git git-submodules
Git submodule push

If I modify a submodule, can I push the commit back to the submodule origin, or would that require a …

git git-submodules
Why is my Git Submodule HEAD detached from master?

I am using Git submodules. After pulling changes from server, many times my submodule head gets detached from master branch. …

git git-submodules
Git will not init/sync/update new submodules

Here's part of the contents of my .gitmodules file: [submodule "src/static_management"] path = src/static_management url = git://github.…

git git-submodules
git submodule tracking latest

We are moving our (huge) project to git and we are thinking about using submodules. Our plan is to have …

git git-submodules git-track
How to un-submodule a Git submodule?

What are the best practices for un-submoduling a Git submodule, bringing all the code back into the core repository?

git git-submodules
How to get rid of Git submodules untracked status?

I can't seem to get rid of untracked content in Git's submodules. Running git status yields: # On branch master # Changes …

git git-submodules
Differences between git submodule and subtree

What are the conceptual differences between using git submodule and subtree? What are the typical scenarios for each?

git git-submodules git-subtree
How to set up a git project to use an external repo submodule?

I'd like to create a repo which pulls in a remote repo. For example, let's say jQuery as a submodule: …

git github external git-submodules