It sounds like a similar question to pull/push from multiple remote locations, but it is not.
I have a project, call it iggy-project - and it has a remote repo called iggy-project
in github.
Inside iggy-project, I have a dist/
folder that I want to push to a different repo, call it iggy-dist
|-index.html
|-style.css
|-script.js
|-dist/
|- index.html
|- style.css
How can I keep iggy-project pointing to iggy-project remote repo, but push everything inside dist/ into iggy-dist
?
Bonus: Is it possible to do this (pushing iggy-dist to iggy-dist remote) every time I push to iggy-project so everything is done under one command?