How does git use commands to compare the differences between the same branch, remote warehouse and local warehouse files?

as shown in the figure below, I modified the file pom.xml.
clipboard.png
1:git

smartgit
2:git bash
clipboard.png

locally.
Git
Feb.11,2022

you can try git diff or git difftool


for example, if you are currently in the master branch, first update git fetch and then compare git diff origin master .

Menu