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