I\'d like to create a repo which pulls in a remote repo.
For example, let\'s say jQuery as a submodule:
git://github.com/jquery/jquery.git
Most of what you need to know has already been answered, so I won't bother addressing that, however, I've found a small piece of information that's usually missing.
As you know, "git pull" won't update the submodules, and "git submodules update" won't download the latest HEAD of those submodules either.
To update all of your submodules to their latest upstream revision, you can use
git submodule foreach git pull
If you often alter your submodules, and have lots of the, then "git foreach" will become invaluable.