Re: Git Submodule Usage Pattern
- From
Avery Pennarun <apenwarr@gmail.com>
- Date
- Feb 16, 2010, 20:38 UTC
- Message-ID
- <32541b131002161238h5549882fv89ab90812b3e8131@mail.gmail.com>
- In-Reply-To
- <20100216200035.GA19834@inner.home.ulmdo.de>
On Tue, Feb 16, 2010 at 3:00 PM, Andreas Krey <a.krey@gmx.de> wrote:
Show 6 quoted lines
> On Tue, 16 Feb 2010 12:48:16 +0000, Avery Pennarun wrote: >> Three suggestions I can offer: > ... >> 2) Try using relative repo paths (like ../foo.git) in .gitmodules. > > Is that a 'try', or are those supposed to work?
It works. The reason I said "try" is that in order to *make* it work, you may have to move your repositories around so that you can reach one using a relative path from the other (ie. it's easiest if they're on the same server at the same level of the directory hierarchy).
Avery