I want to push my frontend repo to a directory of a remote repo.
E.g. push the repo to the app
directory of remote.
Frontend repo:
/--
|- tsconfig.json
|- webpack.config.js
|- ...
Remote:
/--
|- app/
|- tsconfig.json
|- webpack.config.js
|- ...
|- server/
|- main.js
|- ...
The subtree
command has come to my mind, but it seems to be limited to local.
I'm wondering if there is any way to do it, other than create a local repo containing both app
and server
.