In our repository, we basically have code for the front end and backend. Up until now, I've juggled with one branch for the backend and another for the front end. However, this leads to me having to jump back and forth between the branches, and rebasing all the time.
What I want to do is to have one branch, do all my development there and when it comes time to do merge, have it done in two steps, one for the backend files and one commit for the front end.
I guess I could cherry-pick, but I liked the regular branch merging. Another way would be to manually create two new branches for the file sets and then merge these two new branches instead. But that's a bit much manual work.
Is there another way?
Edit:
This is a local QlikSense environment, where we have scripts for generating a data mart with functions, we call this the backend. We also have a front end, where there is at least one script for calling the mart with the functions to get the correct parts of the mart, and then the front end application it self with charts etc...
Unless the front end is rebased on the backend, the mart functions will not be available in the front end script.