Top "Git-submodules" questions

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

Convert a Git folder to a submodule retrospectively?

Quite often it is the case that you're writing a project of some kind, and after a while it becomes …

git git-submodules
git: list of all changed files including those in submodules

I would like to get a list of all files, which have changed betweet two commits including those in submodules. …

git git-submodules git-diff
Alternatives to Git Submodules?

I feel that using Git submodules is somehow troublesome for my development workflow. I've heard about Git subtree and Gitslave. …

git-submodules git-subtree git-repo git-subrepo git-slave
How can I use git-archive to include submodules from a bare repository

I'm in the process of setting up a deployment script. The basic process is: Push changes to a bare repository …

git deployment git-submodules git-bare
How can I move a single directory from a git repository to a new repository whilst maintaining the history?

I have inherited a git repository containing multiple projects in separate directories. I'd like to split the repository into new …

git git-submodules
How can I get a git submodule's associated commit ID from a past commit in the parent clone?

Is there a way, short of actually checking out the parent commit, to determine a submodule's SHA-1 commit ID based …

git diff git-submodules
How do I get `git clone --recursive` to recreate submodules' remotes and branches?

I have a project with a handful of submodules. Many of them are cloned from a GitHub fork to which …

git git-submodules git-clone cloning git-remote
How do I add files in Git to the path of a former submodule?

I have a project that used to contain a submodule, at path mysubmodule. I installed the latest Git from source (1.8.3…

git git-submodules
Using someone else's repo as a Git Submodule on GitHub

I am trying to find out if it is possible to use someone else's repository (or branch of a repository) …

git version-control repository github git-submodules
git submodule update with other user

I'm logged in as user A on my machine, but my repo is accessible through username B on the server …

git git-submodules git-config