From: Michael Eager <eager@eagerm.com>
To: Git Mailing List <git@vger.kernel.org>
Subject: Managing sub-projects
Date: Sat, 18 Jun 2016 16:20:50 -0700 [thread overview]
Message-ID: <5765D752.4000404@eagerm.com> (raw)
I'm trying to create a git repository for a tool chain for a proprietary
processor. I'd like to create a private repo with documentation, build
scripts, etc., which includes several sub-projects: binutils, gcc, newlib,
etc. Each of the sub-projects will have a branch which has support for
the new processor. These branches need to be maintained in my repo, not
in the upstream repo. I want to be able to periodically rebase these
branches from the upstream repo.
I've looked at several schemes, but each one seems to do something other
than what I want.
Git submodule: Branches created in the sub-projects are pushed to the
upstream repo, not to my repo. I tried to change origin and created an
upstream reference, but was not able to get changes pushed to my repo.
git subtree: Does not maintain sub-project history or allow rebase.
git slave: Requires multiple private repos. Appears to require the
same branch names in each sub-project.
repo: Appears to work a bit like git submodules, where pushes on the
sub-projects go to the upstream repo, not to the private repo.
Any other ways to do what I want without creating a separate forked
repo for each of the sub-projects? Or have I misunderstood one of
these schemes?
--
Michael Eager eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077
next reply other threads:[~2016-06-18 23:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-18 23:20 Michael Eager [this message]
2016-06-20 2:01 ` Managing sub-projects Stefan Beller
2016-06-21 23:06 ` Michael Eager
2016-06-21 23:36 ` Stefan Beller
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5765D752.4000404@eagerm.com \
--to=eager@eagerm.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.