test , 远端分支为 xxx
# diff 假定远端库名为 origin;获取远端库最新信息$ fetch origin# , 你要比较的本地分支为 test;git 做diff$ git