[poky] [OT] splitting GIT repositories

Gary Thomas gary at mlbassoc.com
Thu Sep 8 05:55:12 PDT 2011


Sorry for the off-topic question, but I'm sure that I'm not the
only Poky user out there that has a similar dilemma.

When I started working with Poky (quite some years ago), I added
my code/recipes/... to the Poky GIT tree locally.  This let me
keep my parts up to date with the global repository fairly easily.
I've tried to keep things such that my changes are separated from
the Poky master changes.

Now that the layering system is working well, and indeed I could
move from pure Yocto/Poky to oe-core, I'd like to split my files
away from the Poky tree I've been using.  I'd also like to keep
history, etc, for my code as I do this.

Is there some way to purge Poky master from my local tree?  In
other words, remove all the Yocto/Poky files & directories, including
any history/commits/etc that go along with them?

I've experimented some with clone + filter-branch which does
strip away the parts I don't want, but the history is cluttered
with Poky mainline commits.  In the end, I'd like to end up with
just my files and the commits that created them.

Thanks for any pointers or ideas

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the poky mailing list