aurora/aurora-sharp-desktop/mono.sh

20 lines
679 B
Bash
Raw Normal View History

2021-03-06 04:10:12 +00:00
github_org=watsonb8
my_master_repos="aurora-proto aurora-sharp-desktop"
my_develop_repos="aurora-cradle-sharp"
git checkout -b monorepo-migration
for repo in $(echo $my_master_repos); do
git remote add $repo ssh://git@thebword.ddns.net:3122/$github_org/$repo.git
git fetch $repo
git read-tree --prefix=$repo -u $repo/master
git add $src_dir/$repo
git commit -m "Migrated $repo to $src_dir/$repo"
done
for repo in $(echo $my_develop_repos); do
git remote add $repo ssh://git@thebword.ddns.net:3122/$github_org/$repo.git
git fetch $repo
git read-tree --prefix=$repo -u $repo/develop
git add $src_dir/$repo
git commit -m "Migrated $repo to $src_dir/$repo"
done