Following normal gitflow, I have a master branch from which I have forked a feature branch for development purposes. In the feature branch, I have done tons of changes (added new files) and now need to merge back to master. Please note that these changes in the feature branch has happened over several weeks containing hundreds of commits.
However, due to requirements, I am allowed to take a sub-set of files, which have been edited/added across multiple commits.
Question is - how do I raise a pull request from feature to master containing the above sub-set of files only and ignore any other files that may have been added/edited?
Please note that its not possible to do a GIT cherry pick of commits, because
- There are hundreds of commit in the
featurebranch - Any of these commits can contain the files to be merged back alongwith files that don't have to be merged back.
Thanks