如何查看已更改的文件,以下fetch / update命令似乎获取了一些数据,但我没有清楚地了解上次运行中发生了什么变化。
c:\examples>git fetch
got fac9a16c714aaa993267269676980f6433430797
walk fac9a16c714aaa993267269676980f6433430797
got 8751f9c82175ca08d1d1a2549b24479a72b10d0f
got c3e210c5a0cb9316d9f67a31bc0adba622866d5e
got 43a1ac031d097952d607acc93f4e1524ec06cc46
walk 43a1ac031d097952d607acc93f4e1524ec06cc46
got 78012cec43abb804dc3db59024452b8dd98fac54
got 32e287698fdbacd09fe3bafd92bf62291cfef6aa
walk 32e287698fdbacd09fe3bafd92bf62291cfef6aa
got 9e022dd8f4e35c446504ea232566b590e299e975
got 35bce0fdc496a65697d3ca1e5010d9448476c00f
got 0749e58ec244915b98377bba44e869e28f678df0
got 6f3836ed45a0a89a171d384c8c2c08bf260b14e5
got 3191d7c953b6fd342b3008e166243610377eac38
答案 0 :(得分:1)
git diff
会显示文件之间的差异。
答案 1 :(得分:1)
git fetch && git log ..origin/master
更准确。请参阅此SO question。