Compare branches

February 6, 2022 ยท View on GitHub

To compare two local branches:

git diff branch1..branch2

This compares the tip of the branches

Sources

  • how to compare two git branches