When I do merge preview
m p I see a log of other branch changes for each affected file. Changes marked like this:
@@ -20,6 + 22,7 @@ - <change> + <change>
To merge only a particular file I can do from command line:
git checkout another_branch -- ./path/to/file
(btw, is there a way to do it in Magit?)
BUT, suppose, I want to merge only specific changes from the log, and not the entire file. Is there any way to do that in magit, or git cli? Ideally I'd love to check the changes that I want to merge manually.