git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* git submodule: 3 modules same git repo?
@ 2018-08-14 22:27 Joakim Tjernlund
  2018-08-14 22:38 ` [PATCH 1/2] store submodule in common dir Stefan Beller
  2018-08-14 23:10 ` git submodule: 3 modules same git repo? Jonathan Nieder
  0 siblings, 2 replies; 11+ messages in thread
From: Joakim Tjernlund @ 2018-08-14 22:27 UTC (permalink / raw)
  To: git@vger.kernel.org

I am trying to create 3 submodules from the same git repo, each pointing to a different branch.
Since the repo is somewhat large, I don't want the 3 submodules to clone the same repo 3
times, I want one clone and then have the 3 submodules to point to different commits.

Is this possible? If not, could it be added?

  Jocke

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-08-15 15:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-14 22:27 git submodule: 3 modules same git repo? Joakim Tjernlund
2018-08-14 22:38 ` [PATCH 1/2] store submodule in common dir Stefan Beller
2018-08-14 23:04   ` Junio C Hamano
2018-08-14 23:20     ` Junio C Hamano
2018-08-14 23:30       ` Stefan Beller
2018-08-15  0:47       ` Jonathan Nieder
2018-08-15  8:28       ` Joakim Tjernlund
2018-08-15  8:39         ` Joakim Tjernlund
2018-08-15 15:20       ` Duy Nguyen
2018-08-14 23:23     ` Stefan Beller
2018-08-14 23:10 ` git submodule: 3 modules same git repo? Jonathan Nieder

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).