I cannot seem to find a way to create a patch (or diff) for a subset of files for a commit.
Environment:
- Sourcetree 2.6.3 (134) for Mac (OS X Sierra)
- Git repository on BitBucket
Scenario:
- Large commit containing many changes
- In History View, I right click on the most recent commit and select "Create Patch..."
- Patch window appears. In the history pane of the patch window I select the version I want to generate the diff (patch) from
- In the files window (lower left of the patch window) I select only the files for which I want to view
- This works for VIEWING the diffs (it only shows the diffs for the selected files) but when I click "Create" to create the patch file, the patch shows ALL files that have changed
How do I create a patch (diff) file for only the selected files?