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 .

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e42112-44991.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e42112-44991.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?