- double dots: simple diff
- tripple dots: common ancestor diff
Use double dots (..) to show changes in the feature branch that are not in the parent.
git diff feature..mainUse triple dots (...) to show all the changes beginning at the common ancestor of the feature branch and the parent. Pull requests on GitHub show a three-dot diff.
git diff feature...main