I need to apply changes introduced in one branch to another branch. I can use cherry pick to do that. However, in my case I want to apply changes which are relevant only for
You can try doing this:
git show COMMIT_ID -- path/to/specific-file | git apply
For example:
git show 3feaf20 -- app/views/home/index.html | git apply