Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.05 KB

README.md

File metadata and controls

28 lines (18 loc) · 1.05 KB

Test

RSpec monorepo migration

This repository contains the script for merging the RSpec repositories for the monorepo migration project.

The core logic for merging repositories is in https://github.com/yujinakayama/repository_merger.

Usage

You should clone this repository with --recurse-submodules since it manages the RSpec repositories for the migration as git submodules:

git clone --recurse-submodules [email protected]:rspec/rspec-monorepo-migration.git

Then run exe/merge_rspec_repos to import the history from the separate repos into work/rspec-monorepo:

bundle exec exe/merge_rspec_repos

Since the script imports the history with idempotence, you can run it again when there're new commits in the original repos:

git submodule foreach 'git fetch'
bundle exec exe/merge_rspec_repos