git diff <branch>..<other-branch> to view the difference between <branch> and <other-branch>.git diff <branch>..<other-branch>
git diff patch-1..patch-2 # Displays the difference between branches `patch-1` and `patch-2`
Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️