我如何看到git pull中的文件更改

时间:2016-04-14 21:29:30

标签: git

我跑的时候是我的电脑:

$ git pull

我可以看到:

remote: Counting objects: 29, done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 29 (delta 13), reused 0 (delta 0)
Unpacking objects: 100% (29/29), done.
From bitbucket.org:myorg/myrepository
   ddad276..505c341  dev        -> origin/dev
First, rewinding head to replay your work on top of it...
Applying: New section

但是在云端的服务器上,当我运行git pull时,我发现了一些不同的东西:

remote: Counting objects: 29, done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 29 (delta 13), reused 0 (delta 0)
Unpacking objects: 100% (29/29), done.
From https://bitbucket.org/myorg/myrepository
   ddad276..505c341  dev        -> origin/dev
Updating ddad276..505c341
Fast-forward
 .../templates/myfile01.html.twig        |  8 ++++
 sites/css/custom.css  | 58 ++++++++++++++++++++-----
 .../sass/custom/_artifacts.scss  |  1 +
 .../sass/custom/_custom.scss     | 11 ++++-
.....................

然后,我如何配置我的本地git来查看那些已经改变的文件?

1 个答案:

答案 0 :(得分:0)

您可以通过运行pull -v打开详细模式,而且您的git config中似乎有pull.rebase == true