grailbio / grit Goto Github PK
View Code? Open in Web Editor NEWGrit is a tool to mirror monorepo subtrees to Github
License: Apache License 2.0
Grit is a tool to mirror monorepo subtrees to Github
License: Apache License 2.0
This looks like to be exactly the type of tool I need, however, I'm getting some errors using it.
The monorepo has many projects, and has been developed since 2017.
I want to move each of those projects into separate repos, while still maintaining the monorepo for legacy CI purposes.
We will call the monorepo, repoA
I tried creating a new repo for just one of the projects to start with:
First I tried splitting it out initially using:
git filter-branch --prune-empty --subdirectory-filter project/app master
into a new repo, repoB
https://help.github.com/en/articles/splitting-a-subfolder-out-into-a-new-repository
But when I try to sync with grit from A to B, I get errors that the files already exist.
error: .editorconfig: already exists in index
etc.
So I tried an empty repo - error: master branch not found.
So I added a file that didn't exist to it, and then tried syncing from A to B, this time got a different error - it copied commits from 2017 through July 2018, and then fails at one of them.
Any suggestions on best practices for getting initial sync going?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.