View difference between two branches
Displays the difference between two branches.
- Use
git diff <branch>..<other-branch>
to view the difference between<branch>
and<other-branch>
.
git diff <branch>..<other-branch> # Examples git diff patch-1..patch-2 # Displays the difference between branches `patch-1` and `patch-2`