I've read some other questions (here, here, etc) , but didn't answer mine.
In the project I am working on there is a new rule: maximum 5 files changed/created per PR. I know how insane is this rule and sometime impossible to do it, because to make a functionality work sometimes more than 5 files need to be edited/created.
However for now that's the situation and I need to understand a simple way, (maybe there is a software for it) to achieve for example the following:
- From a branch with 8 files changed (compared to master)
- Split it into two new branches, one with 5 files and the other with 3 files (of my choice)
Now matter if the new branches will not have the functionality working. Still it is needed, no matter how insane is that - not my decision :(
How to split such branch?
Thank you