I’m working on a project which I want to deploy with Resin. The code I want to deploy is a subset of a larger repository. I can’t add resin.io as a remote and use
git push resin master because I can’t risk the rest of the repo being pushed. I’m currently maintaining a separate repo which I copy to before deploying, but I’m wondering if anybody out there has a suggestion for a nicer approach? Ideally it would let me maintain my project history but not risk including any of the rest of the repo, and would present the project as the root even though it is deep in the larger repository.
I’m looking at using git subtree but I’m not super excited about the amount of careful Git monkeying I’d need to do. The simpler the better.
Any ideas or pointers would be really appreciated.