I have a Git repository which contains multiple subdirectories. One of the subdirectory is the dist folder which I'd like to deploy to Heroku. I do not want to deploy the whole source code to Heroku as it seems unneeded plus there are documents like readme files which are def. not needed on there.
I found this thread: How can I deploy/push only a subdirectory of my git repo to Heroku?
but I failed to find any more information about the subtree command which makes me believe that it never made it way into the git core and is not the state of the art to handle such a task.
Basically:
I have a git repository in Gitlab -- Containing a folder named dist/. I'd like to git push the folder dist/ to a different remote (Heroku git) -- What am I searching for?
Thanks in advance.