Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: Git Submodule Usage Pattern

From: Andreas Krey <hidden>
Date: 2016-06-15 22:48:17

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?

4) Use

  [url "git@github.com:apk/"]
      insteadOf = "git://github.com/apk/"

in ~/.gitconfig allows changing the the actual url used. I use that
to be able to clone seemingly with the public github url but still
be able to push. You can use that to let an submodule point to
some other place where there is a clone of the submodule repo,
or another access method.

Andreas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help