Live data from Hacker News

Metahead – An enterprise-grade, Git-based metarepo

metahead.dev

1–10 of 38 posts

Re: Metahead – An enterprise-grade, Git-based metarepo

#5

[flagged]

We're pretty worried about trying to monorepoize our existing code bases together.

How do we not break all the merge commits that link a project specific PR? Complex filter-branch I guess. How do we make GitHub able to actually help us navigate the past effectively?

It seems like we need some custom tooling to help us replay the past step by step across multiple repos, doing some rewriting as we go.

And what if it's not just your own repos one is managing? What if you also are trying to manage external deps too?

I see much validity to wanting good git-of-gits. Also if anyone has any suggestions for stitching together monorepos out of existing repos, please please comment!

Re: Metahead – An enterprise-grade, Git-based metarepo

#10
post #9

I am still really happy with using git subrepo as my metarepo https://github.com/ingydotnet/git-subrepo

The readme is understandable and the failure modes means it degrades to an ordinary git repo.

> This git command "clones" an external git repo into a subdirectory of your repo. Later on, upstream changes can be pulled in, and local changes can be pushed back. Simple.

Post reply on HN