Migrating cradle server
This commit is contained in:
parent
8d3efc00fa
commit
b7578de226
@ -1,19 +0,0 @@
|
|||||||
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
|
|
Loading…
Reference in New Issue
Block a user