Git 如何在不clone的情况下作diff
迷茫
迷茫 2017-05-02 09:38:27
0
1
685

需求比较特殊
有一批远程仓库需要做扫描,需要其一段时间内的diff,如果全部clone下来再分别去查diff的话比较麻烦,有没有办法像svn那样直接svn diff -r 3000:3500 http://svn.xxxx.com/xxx/xxx 这样不拖内容下来而是直接去拿diff的命令?

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(1)
PHPzhong

No, unless the other server provides this function (such as GitHub) or you can log in to the server to execute commands.

In addition, if you don’t clone it, how do you know the version hash to be compared?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template