git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Managing sub-projects
@ 2016-06-18 23:20 Michael Eager
  2016-06-20  2:01 ` Stefan Beller
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Eager @ 2016-06-18 23:20 UTC (permalink / raw)
  To: Git Mailing List

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

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

end of thread, other threads:[~2016-06-21 23:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-18 23:20 Managing sub-projects Michael Eager
2016-06-20  2:01 ` Stefan Beller
2016-06-21 23:06   ` Michael Eager
2016-06-21 23:36     ` Stefan Beller

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 NNTP newsgroup(s).