https://github.com/branchvincent/tutorials
https://github.com/branchvincent/tutorials
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/branchvincent/tutorials
- Owner: branchvincent
- Created: 2021-04-17T16:44:41.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-30T23:39:09.000Z (over 2 years ago)
- Last Synced: 2025-01-19T10:31:40.975Z (3 months ago)
- Language: TypeScript
- Homepage:
- Size: 593 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tutorials
This is a collection of languages and libraries that I try.
## How to create a monorepo?
For future reference, this was the [best solution](https://gist.github.com/x-yuri/6161d90d1af8ebac6e560bcef548c1c3) I found to merge separate child repo's into a parent monorepo (like this one) while preserving individual file history:
```console
brew install git-filter-repo# Clone child repo and move into new subdirectory
git clone tmp/child
git filter-repo --source=tmp/child --target=tmp/child --to-subdirectory-filter# Merge child repo into parent
git remote add -f child tmp/child
git merge --allow-unrelated-histories child/main
git remote remove child
```