git subtree add --prefix=packages/sub1 [email protected]:christian-graf/sub1.git master
git subtree add --prefix=packages/sub2 [email protected]:christian-graf/sub2.git master
git push
git subtree push --prefix=packages/sub1 [email protected]:christian-graf/sub1.git master
git subtree push --prefix=packages/sub2 [email protected]:christian-graf/sub2.git master
While checking how laravel handles its repositories i found some interesting git extension