I know about git diff branch1 branch2
. However, I would like to see changes introduced in one branch only. I can get this functionality with:
git checkout branch1
git merge branch2
git reset origin/branch1
git diff
Is there a shorter way to do this?