Git pull不显示所有消息

时间:2019-02-10 08:04:30

标签: git gitlab git-pull

使用git编写自动工具时遇到问题。当我再添加一行时,我得到了如下完整的消息:

$ git pull
remote: Enumerating objects: 1, done.
remote: Total 1 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (1/1), done.
From gitlab.com:phamthanhlong/deploy
   5f29c00..50bc6a8  master     -> origin/master
Merge made by the 'recursive' strategy.
 branch 1/branch 1.1/Ops_Pickup_Ontime1stPerformance.py | 1 +
 1 file changed, 1 insertion(+)

但是当我添加更多行时,我没有得到完整的消息

$ git pull
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 5 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (5/5), done.
From gitlab.com:phamthanhlong/deploy
   50bc6a8..0d40519  master     -> origin/master
Merge made by the 'recursive' strategy.
 .../Ops_Pickup_Ontime1stPerformance.py      | 94 ++++++++++++++++++++++
 1 file changed, 94 insertions(+)

我想获取被推送到gitlab的文件的全名和路径,例如:branch 1/branch 1.1/Ops_Pickup_Ontime1stPerformance.py,而不是这个:.../Ops_Pickup_Ontime1stPerformance.py

1 个答案:

答案 0 :(得分:1)

非常感谢您的支持人员。经过一段时间的研究,我终于找到了答案。

在使用git pull之后,我使用以下命令:git diff --name-status ORIG_HEAD..

相关问题