mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Martin Terra <>
Subject: Git submodule commits
Date: Fri, 27 Jan 2023 11:32:25 +0200	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>


We have git repository A and B.

A depends on B.

The team working on B has no visibility to A.

However, team A has visibility to both A and B.

You can think of it as if repository B is outsourced.

Now when team A is working on features and make a change which affects
also B, ideally there would be a single (single index)
commit/pull/etc. across A and B. Ideally, there would be no duplicate
copies of artifacts, i.e., optimally something from B commits only to
B and something form A only to A (think Submodule but with ability to
commit also).

How can this be accomplished using Git or is it a missing/planned
feature in git, or is there a 3rd party tool that helps with this?
Submodule and subtree don't seem to have these capabilities, or do

Currently we have these set up on cvs and committing across projects
works effortlessly, but cvs is in many other ways outdated.

Related topics:



           reply	other threads:[~2023-01-27  9:33 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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).