I have some code that I've been working on and I've changed 4 files.
However during the setup process there were several files changed that I was unaware of.
Then I did a git add . and pull a 22 more files into the commit without realizing it.
Now 3 commits later on the branch I want to submit a merge request but I'd like to remove the 22 files that the setup changed.
I'm thinking it'd work something like this: switch back to the master branch and create a MergeRequest branch.
Merge the merge request branch with the work branch and cherry pick the files that I want. Is this the best way of handling this issue?