I have a branch where I cherry-picked a commit fd678b2 from Master for an another branch (branch-y). I had to make changes to that commit since branch-y is an old version branch and not everything was compatible and there were a lot of merge conflicts. After my changes I pushed the branch with a commit 2cbd583.
So is there a way to see the difference between those 2 commits and where I only see the diff of files that were involved in those commit and not the whole branch.
I tried
git diff fd678b2..2cbd583 but that shows me the diff of whole branch and doing the path way git diff fd678b2..2cbd583 --pathis completely impractical since the commit is very big and checking individual file by adding path would take a very long time.
Try if this could be enough for you:
Look at the file you want to inspect, then: