Mono-repo or multi-repo? Why choose one, when you can have both?

meta git checkout -b feature/my-new-branch
meta git commit -m 'made the feature'

Making a `meta` repository

npm i -g meta
mkdir yourProject && cd yourProject
meta init
{
"projects": {}
}
git init
git add -A
git commit -m “init meta repo”
git remote add origin git@github.com:you/yourProject.git
git push -u origin master

Adding projects to your meta repo

meta project add userService git@github.com:you/userService.gitmeta project add graphqlService git@github.com:you/graphqlService.gitmeta project add appService git@github.com:you/appService.git
// .meta
{
"projects": {
"userService": "git@github.com:you/userService.git",
"graphqlService": "git@github.com:you/graphqlService.git",
"appService": "git@github.com:you/appService.git"
}
}
// .gitignore
userService
graphqlService
appService

Sharing

meta git clone git@github.com:you/yourProject.git
meta git update

Conclusion

Interested in hearing MY DevOps Journey, WITHOUT useless AWS Certifications? Read it now on HackerNoon!

--

--

--

I make things for the internet, that scale, look nice, and make money!

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How Co-op Re-contextualizes Puzzle Games

My Journey as a Scrum Master

Debugging: From Panic to Logic

6 Lessons from rapid experimentation at the Financial Times

Cheat Sheet: How to Choose the Right Cloud-Native Technology for Your Solutions

Gamma Structural Patterns

End-to-End Testing without a UI

Computer screen showing the VSCode developer tool

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Patrick Lee Scott

Patrick Lee Scott

I make things for the internet, that scale, look nice, and make money!

More from Medium

Implement Domain-Driven Design (DDD) in Golang

Bring development environment back to your laptop(part1)

Apollo Federation: How do Request Travel Through a Federated Architecture?

Six circles representing networks with arrows and lines between each.

Configuring a custom domain for AWS Lambda Function URLs