If you want to merge the changes made only to some of the files changed in a particular commit,
First, you have to find the commit-id
of the commit.
Then you can provide the file paths that you need to cherry-pick separated by space as below
git checkout <commit-hash> -- <path/to/file1> <path/to/file2>